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.
Your app needs user_posts permission from the person who created the post or the person tagged in the post. Then your app can read: Timeline posts from the person who gave you the permission. The posts that other people made on that person Timeline.
Yes, you can share using the graph2 api. The way you do it is to use /feed edge and pass the post's url that you want to share as the link. Standard Fb permissions to the post you are sharing do apply. This was done today, in a local rails app, using FbGraph2 gem, with the above method.
You can access Page Insights by typing /insights after the name of your page in the URL field. This command will retrieve all of the Insights associated with your Page. Type "/insights" after your company name. Click the Submit button.
With the Facebook API, you can access and read public data for Facebook Pages that you are not the admin of. This data, including business metadata, public comments, and posts, can be used for competitive analysis and benchmarking.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With