|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlbumMethods
Method Summary | |
---|---|
String |
addAlbumPhoto(String albumId,
Media source)
Adds a photo to the album. |
String |
addAlbumPhoto(String albumId,
Media source,
String message)
Adds a photo to the album. |
String |
commentAlbum(String albumId,
CommentUpdate commentUpdate)
Comments on the album. |
String |
commentAlbum(String albumId,
String message)
Comments on the album. |
String |
createAlbum(AlbumUpdate albumUpdate)
Creates the current user's photo album. |
String |
createAlbum(String userId,
AlbumUpdate albumUpdate)
Creates the user's photo album. |
Album |
getAlbum(String albumId)
Returns a single photo album. |
Album |
getAlbum(String albumId,
Reading reading)
Returns a single photo album. |
ResponseList<Comment> |
getAlbumComments(String albumId)
Returns the comments made on the album. |
ResponseList<Comment> |
getAlbumComments(String albumId,
Reading reading)
Returns the comments made on the album. |
URL |
getAlbumCoverPhoto(String albumId)
Returns url of the album's cover photo. |
ResponseList<Like> |
getAlbumLikes(String albumId)
Returns likes made on the album. |
ResponseList<Like> |
getAlbumLikes(String albumId,
Reading reading)
Returns likes made on the album. |
ResponseList<Photo> |
getAlbumPhotos(String albumId)
Returns the photos contained in the album. |
ResponseList<Photo> |
getAlbumPhotos(String albumId,
Reading reading)
Returns the photos contained in the album. |
ResponseList<Reaction> |
getAlbumReactions(String albumId)
Returns the reactions on the album. |
ResponseList<Reaction> |
getAlbumReactions(String albumId,
Reading reading)
Returns the reactions on 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(String id)
Returns the photo albums a user/page has created. |
ResponseList<Album> |
getAlbums(String id,
Reading reading)
Returns the photo albums a user/page has created. |
boolean |
likeAlbum(String albumId)
Likes the album. |
boolean |
unlikeAlbum(String albumId)
Unlikes the album. |
Method Detail |
---|
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 Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Album> getAlbums(String id) throws FacebookException
id
- the ID of a user/page
FacebookException
- when Facebook service or network is unavailableResponseList<Album> getAlbums(String id, Reading reading) throws FacebookException
id
- the ID of a user/pagereading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableString createAlbum(AlbumUpdate albumUpdate) throws FacebookException
albumUpdate
- the album to be created
FacebookException
- when Facebook service or network is unavailableString createAlbum(String userId, AlbumUpdate albumUpdate) throws FacebookException
userId
- the ID of a useralbumUpdate
- the album to be created
FacebookException
- when Facebook service or network is unavailableAlbum getAlbum(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableAlbum getAlbum(String albumId, Reading reading) throws FacebookException
albumId
- the ID of a albumreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getAlbumPhotos(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableResponseList<Photo> getAlbumPhotos(String albumId, Reading reading) throws FacebookException
albumId
- the ID of a albumreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableString addAlbumPhoto(String albumId, Media source) throws FacebookException
albumId
- the ID of a albumsource
- photo content
FacebookException
- when Facebook service or network is unavailableString addAlbumPhoto(String albumId, Media source, String message) throws FacebookException
albumId
- the ID of a albumsource
- photo contentmessage
- photo description
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getAlbumComments(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableResponseList<Comment> getAlbumComments(String albumId, Reading reading) throws FacebookException
albumId
- the ID of a albumreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableString commentAlbum(String albumId, String message) throws FacebookException
albumId
- the ID of a albummessage
- comment text
FacebookException
- when Facebook service or network is unavailableString commentAlbum(String albumId, CommentUpdate commentUpdate) throws FacebookException
albumId
- the ID of a albumcommentUpdate
- comment content
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getAlbumLikes(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableResponseList<Like> getAlbumLikes(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 Developers
FacebookException
- when Facebook service or network is unavailableboolean likeAlbum(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableboolean unlikeAlbum(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableURL getAlbumCoverPhoto(String albumId) throws FacebookException
albumId
- the ID of a album
FacebookException
- when Facebook service or network is unavailableResponseList<Reaction> getAlbumReactions(String albumId) throws FacebookException
albumId
- the ID of the album
FacebookException
- when Facebook service or network is unavailableResponseList<Reaction> getAlbumReactions(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 Developers
FacebookException
- when Facebook service or network is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |