开发者

Is there a Facebook API call to list all 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜