How can I get all open graph pages owned by an application?

你离开我真会死。 提交于 2019-12-10 22:11:08

问题


I am trying to get all open graph pages owned by an application.

I tried this query, but it returned an empty data set. I want to try this with the app id instead and wondering if there is a way to do that.

https://graph.facebook.com/fql?q=SELECT page_id, type from page_admin WHERE uid=me()&access_token={token}


回答1:


I haven't found a way to get the pages owned by an application. But there is a way to get pages owned by a user: https://graph.facebook.com/USER_ID/accounts?access_token=ACESS_TOKEN

To perform this request user should allow access to your app with manage_pages privilege.



来源:https://stackoverflow.com/questions/9628007/how-can-i-get-all-open-graph-pages-owned-by-an-application

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