JFacebookAlbum
class JFacebookAlbum extends JFacebookObject
Facebook API Album class for the Joomla Platform.
Methods
Constructor.
Method to send the request.
Method to get object's connection.
Method to create a connection.
Method to delete a connection.
Method to get an album. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to get the photos contained in this album. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to add photos to an album. Note: check canupload flag first. Requires authentication and publishstream permission.
Method to get an album's comments. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to comment on an album. Requires authentication and publish_stream permission.
Method to delete a comment. Requires authentication and publish_stream permission.
Method to get album's likes. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to like an album. Requires authentication and publish_stream permission.
Method to unlike an album. Requires authentication and publish_stream permission.
Method to get the album's cover photo, the first picture uploaded to an album becomes the cover photo for the album.
Details
__construct(
Registry $options = null,
JHttp $client = null,
JFacebookOAuth $oauth = null)
Constructor.
mixed
sendRequest(
string $path,
mixed $data = '',
array $headers = null,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to send the request.
mixed
getConnection(
string $object,
string $connection = null,
string $extra_fields = '',
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get object's connection.
mixed
createConnection(
string $object,
string $connection = null,
array $parameters = null,
array $headers = null)
Method to create a connection.
mixed
deleteConnection(
string $object,
string $connection = null,
string $extra_fields = '')
Method to delete a connection.
mixed
getAlbum(
string $album)
Method to get an album. Requires authentication and userphotos or friendsphotos permission for private photos.
mixed
getPhotos(
string $album,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get the photos contained in this album. Requires authentication and userphotos or friendsphotos permission for private photos.
mixed
createPhoto(
string $album,
string $source,
string $message = null)
Method to add photos to an album. Note: check canupload flag first. Requires authentication and publishstream permission.
mixed
getComments(
string $album,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get an album's comments. Requires authentication and userphotos or friendsphotos permission for private photos.
mixed
createComment(
string $album,
string $message)
Method to comment on an album. Requires authentication and publish_stream permission.
boolean
deleteComment(
string $comment)
Method to delete a comment. Requires authentication and publish_stream permission.
mixed
getLikes(
string $album,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get album's likes. Requires authentication and userphotos or friendsphotos permission for private photos.
boolean
createLike(
string $album)
Method to like an album. Requires authentication and publish_stream permission.