开发者

Is there a Facebook API call to list all apps?

开发者 https://www.devze.com 2023-03-03 14:02 出处:网络
开发者_开发百科Do any of you know of a facebook api call (or equivalent) that can list all facebook apps?
开发者_开发百科

Do any of you know of a facebook api call (or equivalent) that can list all facebook apps?

I haven't been able to find this on my own.


There is no API call which will list every app ever created, as that's a privacy concern. You can find the apps that a given user is an admin of using the page_admin table:

SELECT page_id FROM page_admin WHERE uid = <UID> AND type = 'Application'


You can also make a request to the /me/accounts endpoint on the Graph API (http://graph.facebook.com/me/accounts). This endpoint lists all the user's Pages and Applications. You could then iterate through that list and check where category is Application.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号