The Graph API makes it easy for me to determine who the friends of the current user are. I have two questions:
- Is it possible, using the Graph API, to determine the list of users for the currently authenticated application?
- Is it possible to determine the friends of the current user who ar开发者_如何转开发e also users of my application (the intersection of my app's users and the current user's friends)? Is this possible using FQL?
- No, This is not possible. Refer to this answer.
There's a rest method called
friends.getAppUsers
for this. Or you could use FQL:SELECT uid,name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=me()) AND is_app_user=1
精彩评论