I need to retrieve all of the current
loggedinuser’s friends who already have my
$friends = $facebook->api_client->friends_getAppUsers();
This method has no parameters, and it can be called only for the
combination of the current
loggedinuser and your application.
returns an array of
uids of the
Facebook Platform to store the returned values from this call.
If you’d prefer to use FQL to access friends, the equivalent query is:
SELECT uid FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=$uid) AND is_app_user
See App Friends for more information.