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.
2
Answers
You have read manage permission document carefully user given you access for the pages
Manage Pages
andpublish Pages
on login after you access the post.Developer manage pages permissin
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