Is there a function in the Facebook.php library for getting friends of the user using a certain application. Something like:
$friends = $facebook->api('me/friends?access_token=' . $access_token);
But instead of listing all friends, it just lists friends using the same application.