Facebook 'Friends.getAppUsers' using Graph API

后端 未结 8 1802
盖世英雄少女心
盖世英雄少女心 2020-11-27 09:29

I have an application that uses the old REST API call Friends.getAppUsers to get the list of friends for the current user that have authorized my application.

8条回答
  •  感情败类
    2020-11-27 09:54

    This can be done with FQL.

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

    QED!

提交回复
热议问题