How to get activity from my app with Facebook Graph API?

时光怂恿深爱的人放手 提交于 2019-12-04 11:50:23

Your app can read any data that it published in without asking for any other permissions.

You read actions from the same URL you posted them to:

if you POSTed your actions to:

POST https://graph.facebook.com/me/yournamespace:cook?access_token=USER_ACCESS_TOKEN

then you read them by GETing:

GET  https://graph.facebook.com/me/yournamespace:cook?access_token=USER_ACCESS_TOKEN

You can read a users friends actions that your app posted too without any additional permissions - you did post it after all, and that user has already auth'd your app. Again, you just GET:

GET  https://graph.facebook.com/USER_ID/yournamespace:cook?access_token=USER_ACCESS_TOKEN
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!