Facebook Graph API - Friends using application

前端 未结 2 946
闹比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:31

    You can always make request with App token to url:

    https://graph.facebook.com/user_id/friends?fields=id,name,installed
    

    And then just filter user by installed param For user friends you can do the same but with client token.

提交回复
热议问题