简体   繁体   中英

Facebook graph api

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM