JFacebookPhoto
class JFacebookPhoto extends JFacebookObject
Facebook API Photo 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 a photo. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to get a photo's comments. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to comment on a photo. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
Method to delete a comment. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
Method to get photo's likes. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to like a photo. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
Method to unlike a photo. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
Method to get the Users tagged in the photo. Requires authentication and userphotos or friendsphotos permission for private photos.
Method to tag one or more Users in a photo. $to or $tag_text required.
Method to update the position of the tag for a particular Users in a photo.
Method to get the album-sized view of the photo. Requires authentication and userphotos or friendsphotos permission for private photos.
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
getPhoto(
string $photo)
Method to get a photo. Requires authentication and userphotos or friendsphotos permission for private photos.
mixed
getComments(
string $photo,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get a photo's comments. Requires authentication and userphotos or friendsphotos permission for private photos.
mixed
createComment(
string $photo,
string $message)
Method to comment on a photo. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
boolean
deleteComment(
string $comment)
Method to delete a comment. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
mixed
getLikes(
string $photo,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get photo's likes. Requires authentication and userphotos or friendsphotos permission for private photos.
boolean
createLike(
string $photo)
Method to like a photo. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
boolean
deleteLike(
string $photo)
Method to unlike a photo. Requires authentication and publishstream permission, userphotos or friends_photos permission for private photos.
mixed
getTags(
string $photo,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get the Users tagged in the photo. Requires authentication and userphotos or friendsphotos permission for private photos.
boolean
createTag(
string $photo,
mixed $to = null,
string $tag_text = null,
integer $x = null,
integer $y = null)
Method to tag one or more Users in a photo. $to or $tag_text required.
Requires authentication and publishstream permission, userphotos permission for private photos.