How to get Likes of Instagram photos in Facebook Graph API?

I am developing an application that processes the <used_id>/posts connection in order to read the posts that the user made and to count likes and comments that were received.

Yesterday, I noticed that posts with Instagram photos are not displayed in posts. After a short search, I found this Instagram posts that do not appear in the Open Open API , after which I could see Instagram photos in the feed connection if user_actions: instapp was added (or friends_actions: instapp for friends' posts).

But two problems remain:

1) Messages are still not displayed in the mail connection, which is more convenient for use in my case, because I am not interested in messages from other users that may appear in Feed.

2) Even if I use the Feed connection, the columns do not have a Likes field, it does not matter if I specify it directly or not. I guess the same goes for the comments. Therefore, in my case, Feed is also useless because I need Likes data.

The only solution that works is to use <user_id>/instapp:take - there I get all the photos also from Likes. So I can use it, but the problem is that I need to make a double API call, because Instagram posts are not the only ones that interest me (I still need to call <user_id>/posts ).

I sent this error report: http://developers.facebook.com/bugs/131821543664928

Perhaps someone has an idea for a better solution than calling instapp: take?

Thanks!

+6
source share

All Articles