public interface AlbumMethods
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addAlbumPhoto(java.lang.String albumId,
Media source)
Adds a photo to the album.
|
java.lang.String |
addAlbumPhoto(java.lang.String albumId,
Media source,
java.lang.String message)
Adds a photo to the album.
|
java.lang.String |
commentAlbum(java.lang.String albumId,
CommentUpdate commentUpdate)
Comments on the album.
|
java.lang.String |
commentAlbum(java.lang.String albumId,
java.lang.String message)
Comments on the album.
|
java.lang.String |
createAlbum(AlbumUpdate albumUpdate)
Creates the current user's photo album.
|
java.lang.String |
createAlbum(java.lang.String userId,
AlbumUpdate albumUpdate)
Creates the user's photo album.
|
Album |
getAlbum(java.lang.String albumId)
Returns a single photo album.
|
Album |
getAlbum(java.lang.String albumId,
Reading reading)
Returns a single photo album.
|
ResponseList<Comment> |
getAlbumComments(java.lang.String albumId)
Returns the comments made on the album.
|
ResponseList<Comment> |
getAlbumComments(java.lang.String albumId,
Reading reading)
Returns the comments made on the album.
|
java.net.URL |
getAlbumCoverPhoto(java.lang.String albumId)
Returns url of the album's cover photo.
|
ResponseList<Like> |
getAlbumLikes(java.lang.String albumId)
Returns likes made on the album.
|
ResponseList<Like> |
getAlbumLikes(java.lang.String albumId,
Reading reading)
Returns likes made on the album.
|
ResponseList<Photo> |
getAlbumPhotos(java.lang.String albumId)
Returns the photos contained in the album.
|
ResponseList<Photo> |
getAlbumPhotos(java.lang.String albumId,
Reading reading)
Returns the photos contained in the album.
|
ResponseList<Album> |
getAlbums()
Returns the photo albums the current user/page has created.
|
ResponseList<Album> |
getAlbums(Reading reading)
Returns the photo albums the current user/page has created.
|
ResponseList<Album> |
getAlbums(java.lang.String id)
Returns the photo albums a user/page has created.
|
ResponseList<Album> |
getAlbums(java.lang.String id,
Reading reading)
Returns the photo albums a user/page has created.
|
boolean |
likeAlbum(java.lang.String albumId)
Likes the album.
|
boolean |
unlikeAlbum(java.lang.String albumId)
Unlikes the album.
|
ResponseList<Album> getAlbums() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Album> getAlbums(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Album> getAlbums(java.lang.String id) throws FacebookException
id - the ID of a user/pageFacebookException - when Facebook service or network is unavailableResponseList<Album> getAlbums(java.lang.String id, Reading reading) throws FacebookException
id - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String createAlbum(AlbumUpdate albumUpdate) throws FacebookException
albumUpdate - the album to be createdFacebookException - when Facebook service or network is unavailablejava.lang.String createAlbum(java.lang.String userId,
AlbumUpdate albumUpdate)
throws FacebookException
userId - the ID of a useralbumUpdate - the album to be createdFacebookException - when Facebook service or network is unavailableAlbum getAlbum(java.lang.String albumId) throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailableAlbum getAlbum(java.lang.String albumId, Reading reading) throws FacebookException
albumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Photo> getAlbumPhotos(java.lang.String albumId) throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailableResponseList<Photo> getAlbumPhotos(java.lang.String albumId, Reading reading) throws FacebookException
albumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String addAlbumPhoto(java.lang.String albumId,
Media source)
throws FacebookException
albumId - the ID of a albumsource - photo contentFacebookException - when Facebook service or network is unavailablejava.lang.String addAlbumPhoto(java.lang.String albumId,
Media source,
java.lang.String message)
throws FacebookException
albumId - the ID of a albumsource - photo contentmessage - photo descriptionFacebookException - when Facebook service or network is unavailableResponseList<Comment> getAlbumComments(java.lang.String albumId) throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailableResponseList<Comment> getAlbumComments(java.lang.String albumId, Reading reading) throws FacebookException
albumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String commentAlbum(java.lang.String albumId,
java.lang.String message)
throws FacebookException
albumId - the ID of a albummessage - comment textFacebookException - when Facebook service or network is unavailablejava.lang.String commentAlbum(java.lang.String albumId,
CommentUpdate commentUpdate)
throws FacebookException
albumId - the ID of a albumcommentUpdate - comment contentFacebookException - when Facebook service or network is unavailableResponseList<Like> getAlbumLikes(java.lang.String albumId) throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailableResponseList<Like> getAlbumLikes(java.lang.String albumId, Reading reading) throws FacebookException
albumId - the ID of a albumreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableboolean likeAlbum(java.lang.String albumId)
throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailableboolean unlikeAlbum(java.lang.String albumId)
throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailablejava.net.URL getAlbumCoverPhoto(java.lang.String albumId)
throws FacebookException
albumId - the ID of a albumFacebookException - when Facebook service or network is unavailable