\JFacebookPhoto
Facebook API Photo class for the Joomla Platform.
Synopsis
class JFacebookPhoto
extends JFacebookObject
{
- // Inherited members from JFacebookObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JFacebookOAuth $oauth;
- // methods
- public mixed getPhoto()
- public mixed getComments()
- public mixed createComment()
- public boolean deleteComment()
- public mixed getLikes()
- public boolean createLike()
- public boolean deleteLike()
- public mixed getTags()
- public boolean createTag()
- public boolean updateTag()
- public string getPicture()
- // Inherited methods from JFacebookObject
- public void __construct()
- protected string fetchUrl()
- public mixed sendRequest()
- public mixed get()
- public mixed getConnection()
- public mixed createConnection()
- public mixed deleteConnection()
- public JFacebookObject setOAuth()
- public JFacebookOAuth getOAuth()
Hierarchy
Extends
Members
protected
- $client — JHttp
- $oauth — JFacebookOAuth
- $options — JRegistry
Methods
public
- createComment() — Method to comment on a photo. Requires authentication and publish_stream permission, user_photos or friends_photos permission for private photos.
- createLike() — Method to like a photo. Requires authentication and publish_stream permission, user_photos or friends_photos permission for private photos.
- createTag() — Method to tag one or more Users in a photo. $to or $tag_text required.
- deleteComment() — Method to delete a comment. Requires authentication and publish_stream permission, user_photos or friends_photos permission for private photos.
- deleteLike() — Method to unlike a photo. Requires authentication and publish_stream permission, user_photos or friends_photos permission for private photos.
- getComments() — Method to get a photo's comments. Requires authentication and user_photos or friends_photos permission for private photos.
- getLikes() — Method to get photo's likes. Requires authentication and user_photos or friends_photos permission for private photos.
- getPhoto() — Method to get a photo. Requires authentication and user_photos or friends_photos permission for private photos.
- getPicture() — Method to get the album-sized view of the photo. Requires authentication and user_photos or friends_photos permission for private photos.
- getTags() — Method to get the Users tagged in the photo. Requires authentication and user_photos or friends_photos permission for private photos.
- updateTag() — Method to update the position of the tag for a particular Users in a photo.
Inherited from JFacebookObject
protected
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
public
- createConnection() — Method to create a connection.
- deleteConnection() — Method to delete a connection.
- get() — Method to get an object.
- getConnection() — Method to get object's connection.
- getOAuth() — Method used to get the OAuth client.
- sendRequest() — Method to send the request.
- setOAuth() — Method used to set the OAuth client.