简体   繁体   中英

can we get other's facebook page feeds via permanent access token

I have got facebook permanent access_token (which i received by creating a new app via my facebook account), can i use this token to fetch feeds from pages other than my own account. For example can i fetch public feeds from Coca Cola's Page via this access token ?? I am developing a web part for a company who maintains its own facebook page, now i want to get public feeds from that page to do this i need to pub permanent access_token that never expires. The Url which i am hitting on browser is like : https://graph.facebook.com/ABCCompany/posts?&limit=50&access_token= {permanent_access_token}

Waiting for your resonse :)

yes, You can access other page feed by using extended access token via facebook app. Here is the eg

https://graph.facebook.com/v2.4/CocaColaUnitedStates/posts?&limit=50&access_token=YOUR_FACEBOOK_APP_EXTENDED_TOKEN

The json data will return on your browser.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM