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:

  • https://developers.facebook.com/docs/facebook-login/access-tokens
  • http://www.devils-heaven.com/facebook-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

    上一篇: 使用graph api从Facebook事件中检索HERE地图位置?

    下一篇: 通过Facebook Graph API检索公共Facebook页面