JFacebookAlbum::getPicture
Method to get the album's cover photo, the first picture uploaded to an album becomes the cover photo for the album.
Requires authentication and user_photos or friends_photos permission for private photos.
Signature
public function getPicture(string
$album,
[boolean
$redirect = true] )
Parameters
-
$album
- The album id.
-
$redirect
- If false this will return the URL of the picture without a 302 redirect.
Returns
- string
- URL of the picture.