Is there a way to get the posts of public pages on Facebook such as bars, clubs etc... and display them on my app?
I am working on a social media app, and I want to post information about real-time events in bars, clubs etc... Is there a way for me to use the posts of these joints from Facebook? Those pages are all public so there is no privacy issue.
You can use the Facebook Graph Api. Here's an example to get all the posts from Stack Overflow page on facebook (You need access token for that):
curl -i -X GET \
"https://graph.facebook.com/v2.5/officialstackoverflow/feed?access_token=[YOUR ACCESS TOKEN"
The structure of the request is:
https://graph.facebook.com/v2.5/[Facebook Entity Id]/feed
You can use the Facebook Graph Explorer tool for testing and getting temporary access token.
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