Get public page statuses using Facebook Graph API without Access Token

后端 未结 4 2013
余生分开走
余生分开走 2020-11-29 17:23

I\'m trying to use the Facebook Graph API to get the latest status from a public page, let\'s say http://www.facebook.com/microsoft

According to http://developers.fa

4条回答
  •  渐次进展
    2020-11-29 18:09

    You can use AppID and Secret key to get the public posts/feed of any page. This way you don't need to get the access-token. Call it like below.

    https://graph.facebook.com/PAGE-ID/feed?access_token=APP-ID|APP-SECRET
    

    And to get posts.

    https://graph.facebook.com/PAGE-ID/posts?access_token=APP-ID|APP-SECRET
    

提交回复
热议问题