问题
I am using an app on facebook, I want to find out list which includes only friends who installed same app in there facebook rather than the whole friend list. I am using graph api call
回答1:
Making a Graph API call to:
me/friends?fields=installed,name
This will give you the entire list of friends for the current user, however, it will include an additional field called installed. If this is set to true, it means the friend has installed the app. You'll have to go through the list and filter out anyone who has "installed": true
Alternatively, you can use the following FQL query:
SELECT uid, name FROM user
WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
AND is_app_user = 1
来源:https://stackoverflow.com/questions/15832735/how-to-find-only-facebook-app-installed-friends