Do any of you know about calling the facebook api (or equivalent) that can list all facebook applications?
I could not find it on my own.
There is no API call that will list every application ever created as a privacy issue. Applications that this user is an administrator use the page_admin table:
page_admin
SELECT page_id FROM page_admin WHERE uid = <UID> AND type = 'Application'
You can also query the endpoint /me/accounts in the Graph API ( http://graph.facebook.com/me/accounts ). This endpoint lists all user pages and applications. You can then iterate over this list and check where the category Application .
/me/accounts
http://graph.facebook.com/me/accounts
category
Application