0
votes

I created a facebook app to get all the images my page is tagged in. It includes the following steps.

1 Get user access token with manage_pages,... permissions 2 Get the page access token from me/accounts endpoint 3 Get the photos using me/photos/tagged endpoint using access token i got in step 2

Every thing is working fine when in choose application as "graph api explorer" in the graph api explorer.

But when I select my application. It does not show me the images by other people in which my page was tagged.

Is there Something I am missing? Please help

Thanks

1

1 Answers

1
votes

Your app needs to authenticate the page access token with the "manage_pages" permission for this call to work. To obtain a page access token you need to start by obtaining a user access token from the admin user of the page and ask for the manage_pages permission from your app when the user authenticates (logs in with your app). This document goes into details on how you can implement the flow I described above : https://developers.facebook.com/docs/facebook-login/access-tokens#pagetokens