I have an issue with Facebook OpenGraph API. Whenever I request data using either '/home' or '/feed', none of the posts from Instagram showed up.

I've been googling around and apparently some people raised the same issue with no solution yet. And I read some that the issue not only affecting posts from Instagram, but also other third-party app/device/platform.

As such, the regular photos permissions don't grant access to them and you need the user to specifically allow you the access their Open Graph activity for the app that posted the actions. The bug reports above are accepted on the basis that this appears to be an oversight in the case of actions with user generated photos, but it could also be by design in which case what i've outlined below as a workaround would be the only supported way to do this:

If you specifically need to request Instagram (or another Open Graph photos app) photos for a user, you can ask for Permission to access the actions posted by that app.

For Instagram photos you can do this by requesting the user_actions:instapp permission and once you've done that the Instagram Photos album will no longer appear to be empty, and the Instagram activity will appear in the feed connection.

To find out the namespace for an arbitrary app, access https://graph.facebook.com/<APP ID> and look for the namespace field,

e.g. for instagram, a call to https://graph.facebook.com/124024574287414/?fields=id,namespace returns:

{
"id": "124024574287414",
"namespace": "instapp"
}

A sample photo from my own /feed connection, retrieved with the read_stream, user_photos, user_actions:instapp permissions, is:

Thanks! It's clear to me now. Time to put it into action.
–
GoniJan 12 '13 at 21:23

I tried adding the user_actions:instapp into my scope parameter in the FB.login and it doesn't seem to work: FB.login(function(response) {}, {scope: 'user_photos,friends_photos,publish_stream,read_stream,user_actions:instapp'}); Did I just miss something?
–
user1470511Jan 14 '13 at 16:03

Facebook employee here. Looking at the internal task that is tracking this issue, all I can say at this time is that this is an issue that we are currently aware and investigating into. If you would like to be notified of any updates, be sure to click "subscribe" on the bug report.

For the time being, I recommend finding the album ID of the user named "Instagram Photos", then calling a GET request to /INSTAGRAM_ALBUM_ID/photos to get their Instagram photos. On the Graph API Explorer tool, I confirm that I am able to fetch all of my instagram pictures. Since my album is public, you should be able to view them as well.

Jesse, that link returns an empty data array which is part of the problem noted at developers.facebook.com/bugs/202119973248747. As Igy noted adding the user_actions:instapp permission allows you to view the photos. Without that the response is always empty.
–
Colin HumberJan 8 '13 at 23:28