Retrieve public Facebook page via Facebook Graph API
Is there a possibility to get the feed of a public Facebook page? For example from https://www.facebook.com/AudiDE.
So far as I know, I can only access my own profile pages through the graph API by sending something like this:
https://graph.facebook.com/{userid}/feed?limit=1&locale=de_DE&access_token={access-token}&fields=id,from,status_type
So is there a way to get access to a public Facebook page by PHP or JavaScript?
Yes, you can just use an App Access Token
or User Access Token
to get the feed. For example:
https://graph.facebook.com/AudiDE/feed?access_token=[app-token]
More information about Access Tokens:
Information about the Tokens you need can always be found in the API reference: https://developers.facebook.com/docs/graph-api/reference/v2.4/page/feed#readperms
链接地址: http://www.djcxy.com/p/5582.html