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
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
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.