How do I get all the photos on a fan page using the Facebook API?

I was able to write a PHP application that asks for node access for the FB Fan page admin and then asks for node access to access the fan page itself.

Now I can get all the photos that were posted on the fan page timeline by going to https://graph.facebook.com/GROUP_ID/tagged?access_token= ...

However, I really need pictures that have a fan page tagged. The above url gives me photos that are hosted on the fan page timeline, not the ones that the page is tagged by other users. According to the developer documentation, I could get them by going to https://graph.facebook.com/GROUP_ID/photos?access_token= ...

Everything seemed to work like this. I received a photo that had a fan page tagged (fan page profile picture). However, I don't get any other photos that have a fan page tagged. I have tried tagging a fan page in my own photos (hosted and tagged by a fan page admin) and tagging a fan page in other people's photos, but I only get one profile photo that has a fan page tagged.

Is this a permission issue or something else? When requesting access tokens, I asked for the following permissions:

  • offline_access
  • read_stream
  • manage_pages

Any help would be greatly appreciated.

+3
facebook-graph-api photo-tagging


source to share


No one has answered this question yet

Check out similar questions:

7
facebook graph api doesn't return all feed items on facebook page
3
Get facebook "Photos of others" with schedule api
1
Upload photos to fan page album
0
how to find post on page deleted or not on facebook Using Graph API
0
Post to Facebook page with open chart
0
how to send photo to fan page using graph api?
0
How to post a photo on a page as a page admin role via the Graph API
0
Is it possible to publish a fan page as a page using the Graph API?
-1
Facebook api graph for photos my page is tagged on?
-1
send photo to facebook page - php



All Articles
Loading...
X
Show
Funny
Dev
Pics