KTastrophy
KTastrophy

Reputation: 1739

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.

Upvotes: 4

Views: 2005

Answers (2)

Jim Rubenstein
Jim Rubenstein

Reputation: 6920

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.

Upvotes: 0

Jimmy Sawczuk
Jimmy Sawczuk

Reputation: 13614

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'

Upvotes: 1

Related Questions