JFacebookUser::getPicture
Method to get the user's profile picture. Requires authentication.
Signature
public function getPicture(mixed
$user,
[boolean
$redirect = true,
[string
$type = null]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$redirect
- If false this will return the URL of the profile picture without a 302 redirect.
-
$type
- To request a different photo use square | small | normal | large.
Returns
- string
- The URL to the user's profile picture.