FQL facebook query language: how can i query the list of friends of a specific user that has my application installed?

为君一笑 提交于 2019-12-03 00:39:04

Actually, you can do pull list of friends who installed an app through FQL.

SELECT uid, name, pic_square FROM user WHERE is_app_user  AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me())

You can do it like this also, if is_app_user=1 then its app user.

NSString *query = @"SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN " @"(SELECT uid2 FROM friend WHERE uid1 = me() LIMIT 25)";

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