JFacebookUser::getFriends
Method to get the specified user's friends. Requires authentication.
Signature
public function getFriends(mixed
$user,
[integer
$limit = 0,
[integer
$offset = 0]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$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.