|
Spring Social Facebook | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LikeOperations
Defines operations for working with a user's likes and interests.
| Method Summary | |
|---|---|
PagedList<Page> |
getActivities()
Retrieves a list of activities that the authenticated user likes. |
PagedList<Page> |
getActivities(java.lang.String userId)
Retrieves a list of activities that the given user likes. |
PagedList<Page> |
getBooks()
Retrieves a list of books that the authenticated user likes. |
PagedList<Page> |
getBooks(java.lang.String userId)
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(java.lang.String userId)
Retrieves a list of games that the given user likes. |
PagedList<Page> |
getInterests()
Retrieves a list of interests that the authenticated user likes. |
PagedList<Page> |
getInterests(java.lang.String userId)
Retrieves a list of interests that the given user likes. |
PagedList<Reference> |
getLikes(java.lang.String objectId)
Retrieves a list 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(java.lang.String userId)
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(java.lang.String userId)
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(java.lang.String userId)
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(java.lang.String userId)
Retrieves a list of television shows that the given user has liked. |
void |
like(java.lang.String objectId)
Like an object on behalf of the authenticated user. |
void |
unlike(java.lang.String objectId)
Unlike an object on behalf of the authenticated user. |
| Method Detail |
|---|
PagedList<Reference> getLikes(java.lang.String objectId)
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<Page> getPagesLiked()
Page objects
org.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(java.lang.String userId)
userId - the ID of the user
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" or "friends_likes" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.void like(java.lang.String objectId)
objectId - the object ID
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "publish_stream" 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(java.lang.String objectId)
objectId - the object ID
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "publish_stream" 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 objects
org.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(java.lang.String userId)
userId - the ID of the user
Page objects
org.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 objects
org.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(java.lang.String userId)
userId - the ID of the user
Page objects
org.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 objects
org.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(java.lang.String userId)
userId - the ID of the user
Page objects
org.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 objects
org.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(java.lang.String userId)
userId - the ID of the user
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" or "friends_likes" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getActivities()
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_activities" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getActivities(java.lang.String userId)
userId - the ID of the user
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_activities" or "friends_activities" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getInterests()
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_interests" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getInterests(java.lang.String userId)
userId - the ID of the user
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_interests" or "friends_interests" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Page> getGames()
Page objects
org.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(java.lang.String userId)
userId - the ID of the user
Page objects
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "user_likes" or "friends_likes" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
|
Spring Social Facebook | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||