简体   繁体   中英

Facebook Graph API to get public post of the public page

I want to access the public post of the public page in php script . Is there any feasibility to get this data from facebook pages. I have checked the documentation and found out as below url.

https://developers.facebook.com/docs/pages/access-tokens

Here it is providing the access to the pages which are created by me but not for the other user pages. So how can i get access to other user's pages post.

Any help will be appreciate.

You have to apply for "Page Public Content Access": https://developers.facebook.com/docs/apps/review/feature/#reference-PAGES_ACCESS

After approval, you can just use the same API call as for your own pages (/page-id/feed) with any Access Token: https://developers.facebook.com/docs/graph-api/reference/v3.2/page/feed

You have read manage permission document carefully user given you access for the pages Manage Pages and publish Pages on login after you access the post. Developer manage pages permissin

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