JFacebookUser::getMutualFriends
Method to get mutual friends of one user and the current user. Requires authentication.
Signature
public function getMutualFriends(mixed
$current_user,
[mixed
$user = 0,
[integer
$limit = 0,
[integer
$offset = 0]]] )
Parameters
-
$current_user
- Either an integer containing the user ID or a string containing the username for the current user.
-
$user
- Either an integer containing the user ID or a string containing the username for the user.
-
$limit
- The number of objects per page.
-
$offset
- The object's number on the page.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.