\JFacebookAlbum
Facebook API Album class for the Joomla Platform.
Synopsis
class JFacebookAlbum
extends JFacebookObject
{
- // Inherited members from JFacebookObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JFacebookOAuth $oauth;
- // methods
- public mixed getAlbum()
- public mixed getPhotos()
- public mixed createPhoto()
- public mixed getComments()
- public mixed createComment()
- public boolean deleteComment()
- public mixed getLikes()
- public boolean createLike()
- public boolean deleteLike()
- 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 an album. Requires authentication and publish_stream permission.
- createLike() — Method to like an album. Requires authentication and publish_stream permission.
- createPhoto() — Method to add photos to an album. Note: check can_upload flag first. Requires authentication and publish_stream permission.
- deleteComment() — Method to delete a comment. Requires authentication and publish_stream permission.
- deleteLike() — Method to unlike an album. Requires authentication and publish_stream permission.
- getAlbum() — Method to get an album. Requires authentication and user_photos or friends_photos permission for private photos.
- getComments() — Method to get an album's comments. Requires authentication and user_photos or friends_photos permission for private photos.
- getLikes() — Method to get album's likes. Requires authentication and user_photos or friends_photos permission for private photos.
- getPhotos() — Method to get the photos contained in this album. Requires authentication and user_photos or friends_photos permission for private photos.
- getPicture() — Method to get the album's cover photo, the first picture uploaded to an album becomes the cover photo for the album.
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.