Home:ALL Converter>Facebook Graph Explorer giving different results than Graph API request with same permissions

Facebook Graph Explorer giving different results than Graph API request with same permissions

Ask Time:2012-09-22T05:07:51         Author:Buns of Aluminum

Json Formatter

I'm writing a script that will pull images that have been posted to an Event's wall and display them in a gallery.

In the Graph Explorer, my Access Token says it covers the following permissions:

create_note 
photo_upload
publish_actions 
publish_stream 
read_stream 
share_item 
status_update
user_photos 
video_upload

I get all of the pictures when I run the call in the Explorer (https://graph.facebook.com/412742725455517/photos). When I run the same call in my code, using an access token generated by calling:

var dialog_url = "http://www.facebook.com/dialog/oauth?"
          + "client_id=" + app_id 
          + "&redirect_uri=" + encodeURIComponent(post_login_url)
          + '&response_type=token'
          + "&scope=create_note,photo_upload,publish_actions,publish_stream,read_stream,share_item,status_update,user_photos,video_upload";

I get only two of the pictures (the ones placed by the Event Host).

Why can't I get all of the images? Is there an alternate way to get the images?

Author:Buns of Aluminum,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/12538167/facebook-graph-explorer-giving-different-results-than-graph-api-request-with-sam
yy