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

后端 未结 2 1366
感情败类
感情败类 2021-02-04 20:06

When a user logs in to my facebook application, i want to show him a list of all of his friends that has my application installed.

can I use FQL to query who\'s of his f

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 21:07

    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())
    

提交回复
热议问题