Get friend app user with graph API

北城以北 提交于 2019-12-23 05:35:07

问题


I want to get friend app user with Graph API
I tried to user with me/friends?fields=installed but I got all of my friends. Maybe, I have some wrong in here.
Please show me any way to get friend app user with Graph API. I don't know in Facebook SDK 3.0 can I get that list easier?


回答1:


You can get list of friends whom are user of your app using FQL rather than Graph API as:

SELECT uid FROM user
WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
AND is_app_user = 1


来源:https://stackoverflow.com/questions/11924397/get-friend-app-user-with-graph-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!