|
Spring Social Facebook | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FeedOperations
Interface defining operations that can be performed on a Facebook feed.
| Method Summary | |
|---|---|
void |
deletePost(java.lang.String id)
Deletes a post. |
PagedList<Post> |
getFeed()
Retrieves recent posts for the authenticated user. |
PagedList<Post> |
getFeed(int offset,
int limit)
Deprecated. Use getFeed(PagingParameters) instead. |
PagedList<Post> |
getFeed(PagingParameters pagedListParameters)
Retrieves recent posts for the authenticated user. |
PagedList<Post> |
getFeed(java.lang.String ownerId)
Retrieves recent feed entries for a given user. |
PagedList<Post> |
getFeed(java.lang.String ownerId,
int offset,
int limit)
Deprecated. Use getFeed(String, PagingParameters) instead. |
PagedList<Post> |
getFeed(java.lang.String ownerId,
PagingParameters pagedListParameters)
Retrieves recent feed entries for a given user. |
PagedList<Post> |
getHomeFeed()
Retrieves the user's home feed. |
PagedList<Post> |
getHomeFeed(int offset,
int limit)
Deprecated. Use getHomeFeed(PagingParameters) instead |
PagedList<Post> |
getHomeFeed(PagingParameters pagedListParameters)
Retrieves the user's home feed. |
PagedList<LinkPost> |
getLinks()
Retrieves the link entries from the authenticated user's feed. |
PagedList<LinkPost> |
getLinks(int offset,
int limit)
Deprecated. User getLinks(PagingParameters) instead. |
PagedList<LinkPost> |
getLinks(PagingParameters pagedListParameters)
Retrieves the link entries from the authenticated user's feed. |
PagedList<LinkPost> |
getLinks(java.lang.String ownerId)
Retrieves the link entries from the specified owner's feed. |
PagedList<LinkPost> |
getLinks(java.lang.String ownerId,
int offset,
int limit)
Deprecated. Use getLinks(String, PagingParameters) instead. |
PagedList<LinkPost> |
getLinks(java.lang.String ownerId,
PagingParameters pagedListParameters)
Retrieves the link entries from the specified owner's feed. |
PagedList<NotePost> |
getNotes()
Retrieves the note entries from the authenticated user's feed. |
PagedList<NotePost> |
getNotes(int offset,
int limit)
Deprecated. Use getNotes(PagingParameters) instead. |
PagedList<NotePost> |
getNotes(PagingParameters pagedListParameters)
Retrieves the note entries from the authenticated user's feed. |
PagedList<NotePost> |
getNotes(java.lang.String ownerId)
Retrieves the note entries from the specified owner's feed. |
PagedList<NotePost> |
getNotes(java.lang.String ownerId,
int offset,
int limit)
Deprecated. Use getNotes(String, PagingParameters) instead. |
PagedList<NotePost> |
getNotes(java.lang.String ownerId,
PagingParameters pagedListParameters)
Retrieves the note entries from the specified owner's feed. |
Post |
getPost(java.lang.String entryId)
Retrieves a single post. |
PagedList<Post> |
getPosts()
Retrieves the post entries from the authenticated user's feed. |
PagedList<Post> |
getPosts(int offset,
int limit)
Deprecated. Use getPosts(PagingParameters) instead. |
PagedList<Post> |
getPosts(PagingParameters pagedListParameters)
Retrieves the post entries from the authenticated user's feed. |
PagedList<Post> |
getPosts(java.lang.String ownerId)
Retrieves the post entries from the specified owner's feed. |
PagedList<Post> |
getPosts(java.lang.String ownerId,
int offset,
int limit)
Deprecated. Use getPosts(String, PagingParameters) instead. |
PagedList<Post> |
getPosts(java.lang.String ownerId,
PagingParameters pagedListParameters)
Retrieves the post entries from the specified owner's feed. |
PagedList<StatusPost> |
getStatuses()
Retrieves the status entries from the authenticated user's feed. |
PagedList<StatusPost> |
getStatuses(int offset,
int limit)
Deprecated. Use getStatuses(PagingParameters) instead. |
PagedList<StatusPost> |
getStatuses(PagingParameters pagedListParameters)
Retrieves the status entries from the authenticated user's feed. |
PagedList<StatusPost> |
getStatuses(java.lang.String userId)
Retrieves the status entries from the specified user's feed. |
PagedList<StatusPost> |
getStatuses(java.lang.String userId,
int offset,
int limit)
Deprecated. Use getStatuses(String, PagingParameters) instead. |
PagedList<StatusPost> |
getStatuses(java.lang.String userId,
PagingParameters pagedListParameters)
Retrieves the status entries from the specified user's feed. |
java.lang.String |
post(java.lang.String ownerId,
java.lang.String message)
Posts a message to a feed. |
java.lang.String |
postLink(java.lang.String message,
FacebookLink link)
Posts a link to the authenticated user's feed. |
java.lang.String |
postLink(java.lang.String ownerId,
java.lang.String message,
FacebookLink link)
Posts a link to a feed. |
PagedList<Post> |
searchHomeFeed(java.lang.String query)
Searches the authenticated user's home feed. |
PagedList<Post> |
searchHomeFeed(java.lang.String query,
int offset,
int limit)
Deprecated. Use searchHomeFeed(String, PagingParameters) instead. |
PagedList<Post> |
searchHomeFeed(java.lang.String query,
PagingParameters pagedListParameters)
Searches the authenticated user's home feed. |
PagedList<Post> |
searchPublicFeed(java.lang.String query)
Searches Facebook's public feed. |
PagedList<Post> |
searchPublicFeed(java.lang.String query,
int offset,
int limit)
Deprecated. Use searchPublicFeed(String, PagingParameters) instead. |
PagedList<Post> |
searchPublicFeed(java.lang.String query,
PagingParameters pagedListParameters)
Searches Facebook's public feed. |
PagedList<Post> |
searchUserFeed(java.lang.String query)
Searches the authenticated user's feed. |
PagedList<Post> |
searchUserFeed(java.lang.String query,
int offset,
int limit)
Deprecated. Use searchUserFeed(String, PagingParameters) instead |
PagedList<Post> |
searchUserFeed(java.lang.String query,
PagingParameters pagedListParameters)
Searches the authenticated user's feed. |
PagedList<Post> |
searchUserFeed(java.lang.String userId,
java.lang.String query)
Searches a specified user's feed. |
PagedList<Post> |
searchUserFeed(java.lang.String userId,
java.lang.String query,
int offset,
int limit)
Deprecated. Use searchUserFeed(String, String, PagingParameters) instead. |
PagedList<Post> |
searchUserFeed(java.lang.String userId,
java.lang.String query,
PagingParameters pagedListParameters)
Searches a specified user's feed. |
java.lang.String |
updateStatus(java.lang.String message)
Posts a status update to the authenticated user's feed. |
| Method Detail |
|---|
PagedList<Post> getFeed()
Posts for the authenticated user.
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.
@Deprecated
PagedList<Post> getFeed(int offset,
int limit)
getFeed(PagingParameters) instead.
offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts for the authenticated user.
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<Post> getFeed(PagingParameters pagedListParameters)
pagedListParameters - the parameters defining the bounds of the list to return.
Posts for the authenticated user.
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<Post> getFeed(java.lang.String ownerId)
ownerId - the Facebook ID or alias for the owner (user, group, event, page, etc) of the feed.
Posts for the specified user.
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.
@Deprecated
PagedList<Post> getFeed(java.lang.String ownerId,
int offset,
int limit)
getFeed(String, PagingParameters) instead.
ownerId - the Facebook ID or alias for the owner (user, group, event, page, etc) of the feed.offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts for the specified user.
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<Post> getFeed(java.lang.String ownerId,
PagingParameters pagedListParameters)
ownerId - the Facebook ID or alias for the owner (user, group, event, page, etc) of the feed.pagedListParameters - the parameters defining the bounds of the list to return.
Posts for the specified user.
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<Post> getHomeFeed()
Posts from the authenticated user's home feed.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<Post> getHomeFeed(int offset,
int limit)
getHomeFeed(PagingParameters) instead
offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts from the authenticated user's home feed.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Post> getHomeFeed(PagingParameters pagedListParameters)
pagedListParameters - the parameters defining the bounds of the list to return.
Posts from the authenticated user's home feed.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.Post getPost(java.lang.String entryId)
entryId - the entry ID
Post
org.springframework.social.ApiException - if there is an error while communicating with Facebook.PagedList<StatusPost> getStatuses()
Posts.
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.
@Deprecated
PagedList<StatusPost> getStatuses(int offset,
int limit)
getStatuses(PagingParameters) instead.
offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
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<StatusPost> getStatuses(PagingParameters pagedListParameters)
pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
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<StatusPost> getStatuses(java.lang.String userId)
userId - the user's ID
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<StatusPost> getStatuses(java.lang.String userId,
int offset,
int limit)
getStatuses(String, PagingParameters) instead.
userId - the user's IDoffset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
PagedList<StatusPost> getStatuses(java.lang.String userId,
PagingParameters pagedListParameters)
userId - the user's IDpagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<LinkPost> getLinks()
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<LinkPost> getLinks(int offset,
int limit)
getLinks(PagingParameters) instead.
offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<LinkPost> getLinks(PagingParameters pagedListParameters)
pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<LinkPost> getLinks(java.lang.String ownerId)
ownerId - the owner of the feed (could be a user, page, event, etc)
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<LinkPost> getLinks(java.lang.String ownerId,
int offset,
int limit)
getLinks(String, PagingParameters) instead.
ownerId - the owner of the feed (could be a user, page, event, etc)offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
PagedList<LinkPost> getLinks(java.lang.String ownerId,
PagingParameters pagedListParameters)
ownerId - the owner of the feed (could be a user, page, event, etc)pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<NotePost> getNotes()
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<NotePost> getNotes(int offset,
int limit)
getNotes(PagingParameters) instead.
offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<NotePost> getNotes(PagingParameters pagedListParameters)
pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<NotePost> getNotes(java.lang.String ownerId)
ownerId - the owner of the feed (could be a user, page, event, etc)
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<NotePost> getNotes(java.lang.String ownerId,
int offset,
int limit)
getNotes(String, PagingParameters) instead.
ownerId - the owner of the feed (could be a user, page, event, etc)offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
PagedList<NotePost> getNotes(java.lang.String ownerId,
PagingParameters pagedListParameters)
ownerId - the owner of the feed (could be a user, page, event, etc)pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Post> getPosts()
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<Post> getPosts(int offset,
int limit)
getPosts(PagingParameters) instead.
offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Post> getPosts(PagingParameters pagedListParameters)
pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Post> getPosts(java.lang.String ownerId)
ownerId - the owner of the feed (could be a user, page, event, etc)
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
@Deprecated
PagedList<Post> getPosts(java.lang.String ownerId,
int offset,
int limit)
getPosts(String, PagingParameters) instead.
ownerId - the owner of the feed (could be a user, page, event, etc)offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
PagedList<Post> getPosts(java.lang.String ownerId,
PagingParameters pagedListParameters)
ownerId - the owner of the feed (could be a user, page, event, etc)pagedListParameters - the parameters defining the bounds of the list to return.
Posts.
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
org.springframework.social.InsufficientPermissionException - if the user has not granted "read_stream" permission.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.java.lang.String updateStatus(java.lang.String message)
message - the message to post.
org.springframework.social.DuplicateStatusException - if the status message duplicates a previously posted status.
org.springframework.social.RateLimitExceededException - if the per-user/per-app rate limit is exceeded.
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.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
java.lang.String postLink(java.lang.String message,
FacebookLink link)
message - a message to send with the link.
org.springframework.social.DuplicateStatusException - if the post duplicates a previous post.
org.springframework.social.RateLimitExceededException - if the per-user/per-app rate limit is exceeded.
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.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
java.lang.String post(java.lang.String ownerId,
java.lang.String message)
ownerId - the feed owner ID. Could be a user ID or a page ID.message - the message to post.
org.springframework.social.DuplicateStatusException - if the post duplicates a previous post.
org.springframework.social.RateLimitExceededException - if the per-user/per-app rate limit is exceeded.
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.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.
java.lang.String postLink(java.lang.String ownerId,
java.lang.String message,
FacebookLink link)
ownerId - the feed owner ID. Could be a user ID or a page ID.message - a message to send with the link.
org.springframework.social.DuplicateStatusException - if the post duplicates a previous post.
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.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.void deletePost(java.lang.String id)
id - the feed entry 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.
org.springframework.social.MissingAuthorizationException - if FacebookTemplate was not created with an access token.PagedList<Post> searchPublicFeed(java.lang.String query)
query - the search query (e.g., "Dr Seuss")
Posts that match the search query
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
@Deprecated
PagedList<Post> searchPublicFeed(java.lang.String query,
int offset,
int limit)
searchPublicFeed(String, PagingParameters) instead.
query - the search query (e.g., "Dr Seuss")offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts that match the search query
org.springframework.social.ApiException - if there is an error while communicating with Facebook.
PagedList<Post> searchPublicFeed(java.lang.String query,
PagingParameters pagedListParameters)
query - the search query (e.g., "Dr Seuss")pagedListParameters - the parameters defining the bounds of the list to return.
Posts that match the search query
org.springframework.social.ApiException - if there is an error while communicating with Facebook.PagedList<Post> searchHomeFeed(java.lang.String query)
query - the search query (e.g., "Dr Seuss")
Posts that match the search query
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.
@Deprecated
PagedList<Post> searchHomeFeed(java.lang.String query,
int offset,
int limit)
searchHomeFeed(String, PagingParameters) instead.
query - the search query (e.g., "Dr Seuss")offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts that match the search query
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<Post> searchHomeFeed(java.lang.String query,
PagingParameters pagedListParameters)
query - the search query (e.g., "Dr Seuss")pagedListParameters - the parameters defining the bounds of the list to return.
Posts that match the search query
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<Post> searchUserFeed(java.lang.String query)
query - the search query (e.g., "football")
Posts that match the search query
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.
@Deprecated
PagedList<Post> searchUserFeed(java.lang.String query,
int offset,
int limit)
searchUserFeed(String, PagingParameters) instead
query - the search query (e.g., "football")offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts that match the search query
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<Post> searchUserFeed(java.lang.String query,
PagingParameters pagedListParameters)
query - the search query (e.g., "football")pagedListParameters - the parameters defining the bounds of the list to return.
Posts that match the search query
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<Post> searchUserFeed(java.lang.String userId,
java.lang.String query)
userId - the ID of the user whose feed is to be searchedquery - the search query (e.g., "football")
Posts that match the search query
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.
@Deprecated
PagedList<Post> searchUserFeed(java.lang.String userId,
java.lang.String query,
int offset,
int limit)
searchUserFeed(String, String, PagingParameters) instead.
userId - the ID of the user whose feed is to be searchedquery - the search query (e.g., "football")offset - the offset into the feed to start retrieving posts.limit - the maximum number of posts to return.
Posts that match the search query
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<Post> searchUserFeed(java.lang.String userId,
java.lang.String query,
PagingParameters pagedListParameters)
userId - the ID of the user whose feed is to be searchedquery - the search query (e.g., "football")pagedListParameters - the parameters defining the bounds of the list to return.
Posts that match the search query
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.
|
Spring Social Facebook | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||