I need to collect the posts from Facebook pages that are not managed by me. Anyone have any suggestions on how to do this? Is it possible to use the Graph API Explorer?
I need to collect the posts from Facebook pages that are not managed by me. Anyone have any suggestions on how to do this? Is it possible to use the Graph API Explorer?
Yes, it is possible, but your application or website will need to get a credential (token) for the user to be able to query .
/{page-id}/feed
The feed of posts (including status updates) and links published by this page, or by others on this page. There are other edges which provide more specific sets of posts:
- / {page-id} / posts shows only the posts that were published by this page.
- / {page-id} / tagged shows all public posts in which the page has been tagged.
- / {page-id} / promotable_posts shows only the posts that can be boosted (includes unpublished and scheduled posts).
You can test queries in the Graph API Explorer , in which case Explorer generates a token that is valid for one limited time. You can even use this token in your app / site but you have to constantly renew it.
Inthedocumentationyoucanseeexamplesofhowtoimplementindifferentlanguages/platforms: