public interface LikeOperations
| Modifier and Type | Method and Description |
|---|---|
PagedList<Page> |
getBooks()
Retrieves a list of books that the authenticated user likes.
|
PagedList<Page> |
getBooks(PagingParameters pagingParameters)
Retrieves a list of books that the authenticated user likes.
|
PagedList<Page> |
getBooks(String userId)
Retrieves a list of books that the given user has liked.
|
PagedList<Page> |
getBooks(String userId,
PagingParameters pagingParameters)
Retrieves a list of books that the given user has liked.
|
PagedList<Page> |
getGames()
Retrieves a list of games that the authenticated user likes.
|
PagedList<Page> |
getGames(PagingParameters pagingParameters)
Retrieves a list of games that the authenticated user likes.
|
PagedList<Page> |
getGames(String userId)
Retrieves a list of games that the given user likes.
|
PagedList<Page> |
getGames(String userId,
PagingParameters pagingParameters)
Retrieves a list of games that the given user likes.
|
PagedList<Reference> |
getLikes(String objectId)
Retrieves a list of references to users who have liked the specified object.
|
PagedList<Reference> |
getLikes(String objectId,
PagingParameters pagingParameters)
Retrieves a page of references to users who have liked the specified object.
|
PagedList<Page> |
getMovies()
Retrieves a list of movies that the authenticated user likes.
|
PagedList<Page> |
getMovies(PagingParameters pagingParameters)
Retrieves a list of movies that the authenticated user likes.
|
PagedList<Page> |
getMovies(String userId)
Retrieves a list of movies that the given user has liked.
|
PagedList<Page> |
getMovies(String userId,
PagingParameters pagingParameters)
Retrieves a list of movies that the given user has liked.
|
PagedList<Page> |
getMusic()
Retrieves a list of music that the authenticated user likes.
|
PagedList<Page> |
getMusic(PagingParameters pagingParameters)
Retrieves a list of music that the authenticated user likes.
|
PagedList<Page> |
getMusic(String userId)
Retrieves a list of music that the given user has liked.
|
PagedList<Page> |
getMusic(String userId,
PagingParameters pagingParameters)
Retrieves a list of music that the given user has liked.
|
PagedList<Page> |
getPagesLiked()
Retrieves a list of pages that the authenticated user has liked.
|
PagedList<Page> |
getPagesLiked(PagingParameters pagingParameters)
Retrieves a list of pages that the authenticated user has liked.
|
PagedList<Page> |
getPagesLiked(String userId)
Retrieves a list of pages that the given user has liked.
|
PagedList<Page> |
getPagesLiked(String userId,
PagingParameters pagingParameters)
Retrieves a list of pages that the given user has liked.
|
PagedList<Page> |
getTelevision()
Retrieves a list of television shows that the authenticated user likes.
|
PagedList<Page> |
getTelevision(PagingParameters pagingParameters)
Retrieves a list of television shows that the authenticated user likes.
|
PagedList<Page> |
getTelevision(String userId)
Retrieves a list of television shows that the given user has liked.
|
PagedList<Page> |
getTelevision(String userId,
PagingParameters pagingParameters)
Retrieves a list of television shows that the given user has liked.
|
void |
like(String objectId)
Like an object on behalf of the authenticated user.
|
void |
unlike(String objectId)
Unlike an object on behalf of the authenticated user.
|
PagedList<Reference> getLikes(String objectId)
PagingParameters returned from PagedList.getNextPage() into getLikes(String, PagingParameters) to get the next page.objectId - the object ID (an Album, Checkin, Comment, Note, Photo, Post, or Video).Reference objects for the users who have liked the object.org.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Reference> getLikes(String objectId, PagingParameters pagingParameters)
objectId - the object ID (an Album, Checkin, Comment, Note, Photo, Post, or Video).pagingParameters - the paging parameters for fetching a specific page of references.Reference objects for the users who have liked the object.org.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getPagesLiked()
Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getPagesLiked(PagingParameters pagingParameters)
pagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getPagesLiked(String userId)
userId - the ID of the userPage objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getPagesLiked(String userId, PagingParameters pagingParameters)
userId - the ID of the userpagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.void like(String objectId)
objectId - the object IDorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "publish_actions" permission or if the user does not have permission to access the object.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.void unlike(String objectId)
objectId - the object IDorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "publish_actions" permission or if the user does not have permission to access the object.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getBooks()
Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getBooks(String userId)
userId - the ID of the userPage objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getBooks(PagingParameters pagingParameters)
pagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getBooks(String userId, PagingParameters pagingParameters)
userId - the ID of the userpagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMovies()
Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMovies(String userId)
userId - the ID of the userPage objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMovies(PagingParameters pagingParameters)
pagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMovies(String userId, PagingParameters pagingParameters)
userId - the ID of the userpagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMusic()
Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMusic(String userId)
userId - the ID of the userPage objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMusic(PagingParameters pagingParameters)
pagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getMusic(String userId, PagingParameters pagingParameters)
userId - the ID of the userpagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getTelevision()
Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getTelevision(String userId)
userId - the ID of the userPage objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getTelevision(PagingParameters pagingParameters)
pagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getTelevision(String userId, PagingParameters pagingParameters)
userId - the ID of the userpagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getGames()
Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getGames(String userId)
userId - the ID of the userPage objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getGames(PagingParameters pagingParameters)
pagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getGames(String userId, PagingParameters pagingParameters)
userId - the ID of the userpagingParameters - the paging parameters for fetching a given range of pages.Page objectsorg.springframework.social.ApiException - if there is an error while communicating with Facebook.org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" permission.org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.