Facebook Graph API - Friends using application

前端 未结 2 948
闹比i
闹比i 2020-12-05 09:13

Is there a function in the Facebook.php library for getting friends of the user using a certain application. Something like:

$friends = $facebook->api(\'m         


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-05 09:27

    You should be able to do this with FQL:

    select uid, name, is_app_user from user where uid in (select uid2 from friend where uid1=me()) and is_app_user=1
    

提交回复
热议问题