Get friend app user with graph API

2019-06-08 18:54发布

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条回答
放荡不羁爱自由
2楼-- · 2019-06-08 19:21

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
查看更多
登录 后发表回答