JFacebookUser::hasFriend
Method to see if a user is a friend of the current user. Requires authentication.
Signature
public function hasFriend(mixed
$current_user,
mixed
$userĀ )
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.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.