|
|||||||||
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(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(String ownerId)
Retrieves recent feed entries for a given user. |
PagedList<Post> |
getFeed(String ownerId,
int offset,
int limit)
Deprecated. Use getFeed(String, PagingParameters) instead. |
PagedList<Post> |
getFeed(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(String ownerId)
Retrieves the link entries from the specified owner's feed. |
PagedList<LinkPost> |
getLinks(String ownerId,
int offset,
int limit)
Deprecated. Use getLinks(String, PagingParameters) instead. |
PagedList<LinkPost> |
getLinks(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(String ownerId)
Retrieves the note entries from the specified owner's feed. |
PagedList<NotePost> |
getNotes(String ownerId,
int offset,
int limit)
Deprecated. Use getNotes(String, PagingParameters) instead. |
PagedList<NotePost> |
getNotes(String ownerId,
PagingParameters pagedListParameters)
Retrieves the note entries from the specified owner's feed. |
Post |
getPost(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(String ownerId)
Retrieves the post entries from the specified owner's feed. |
PagedList<Post> |
getPosts(String ownerId,
int offset,
int limit)
Deprecated. Use getPosts(String, PagingParameters) instead. |
PagedList<Post> |
getPosts(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(String userId)
Retrieves the status entries from the specified user's feed. |
PagedList<StatusPost> |
getStatuses(String userId,
int offset,
int limit)
Deprecated. Use getStatuses(String, PagingParameters) instead. |
PagedList<StatusPost> |
getStatuses(String userId,
PagingParameters pagedListParameters)
Retrieves the status entries from the specified user's feed. |
String |
post(PostData post)
Adds a Post to a feed. |
String |
post(String ownerId,
String message)
Posts a message to a feed. |
String |
postLink(String message,
FacebookLink link)
Posts a link to the authenticated user's feed. |
String |
postLink(String ownerId,
String message,
FacebookLink link)
Posts a link to a feed. |
PagedList<Post> |
searchHomeFeed(String query)
Searches the authenticated user's home feed. |
PagedList<Post> |
searchHomeFeed(String query,
int offset,
int limit)
Deprecated. Use searchHomeFeed(String, PagingParameters) instead. |
PagedList<Post> |
searchHomeFeed(String query,
PagingParameters pagedListParameters)
Searches the authenticated user's home feed. |
PagedList<Post> |
searchPublicFeed(String query)
Searches Facebook's public feed. |
PagedList<Post> |
searchPublicFeed(String query,
int offset,
int limit)
Deprecated. Use searchPublicFeed(String, PagingParameters) instead. |
PagedList<Post> |
searchPublicFeed(String query,
PagingParameters pagedListParameters)
Searches Facebook's public feed. |
PagedList<Post> |
searchUserFeed(String query)
Searches the authenticated user's feed. |
PagedList<Post> |
searchUserFeed(String query,
int offset,
int limit)
Deprecated. Use searchUserFeed(String, PagingParameters) instead |
PagedList<Post> |
searchUserFeed(String query,
PagingParameters pagedListParameters)
Searches the authenticated user's feed. |
PagedList<Post> |
searchUserFeed(String userId,
String query)
Searches a specified user's feed. |
PagedList<Post> |
searchUserFeed(String userId,
String query,
int offset,
int limit)
Deprecated. Use searchUserFeed(String, String, PagingParameters) instead. |
PagedList<Post> |
searchUserFeed(String userId,
String query,
PagingParameters pagedListParameters)
Searches a specified user's feed. |
String |
updateStatus(String message)
Posts a status update to the authenticated user's feed. |
Method Detail |
---|
PagedList<Post> getFeed()
Post
s 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.
Post
s 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.
Post
s 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(String ownerId)
ownerId
- the Facebook ID or alias for the owner (user, group, event, page, etc) of the feed.
Post
s 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(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.
Post
s 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(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.
Post
s 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()
Post
s 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.
Post
s 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.
Post
s 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(String entryId)
entryId
- the entry ID
Post
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.PagedList<StatusPost> getStatuses()
Post
s.
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.
Post
s.
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.
Post
s.
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(String userId)
userId
- the user's ID
Post
s.
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(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.
Post
s.
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(String userId, PagingParameters pagedListParameters)
userId
- the user's IDpagedListParameters
- the parameters defining the bounds of the list to return.
Post
s.
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()
Post
s.
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.
Post
s.
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.
Post
s.
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(String ownerId)
ownerId
- the owner of the feed (could be a user, page, event, etc)
Post
s.
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(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.
Post
s.
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(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.
Post
s.
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()
Post
s.
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.
Post
s.
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.
Post
s.
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(String ownerId)
ownerId
- the owner of the feed (could be a user, page, event, etc)
Post
s.
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(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.
Post
s.
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(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.
Post
s.
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()
Post
s.
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.
Post
s.
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.
Post
s.
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(String ownerId)
ownerId
- the owner of the feed (could be a user, page, event, etc)
Post
s.
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(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.
Post
s.
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(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.
Post
s.
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.String updateStatus(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.String postLink(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.String post(String ownerId, 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.String post(PostData post)
post
- the new 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.String postLink(String ownerId, 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(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(String query)
query
- the search query (e.g., "Dr Seuss")
Post
s that match the search query
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.@Deprecated PagedList<Post> searchPublicFeed(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.
Post
s that match the search query
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.PagedList<Post> searchPublicFeed(String query, PagingParameters pagedListParameters)
query
- the search query (e.g., "Dr Seuss")pagedListParameters
- the parameters defining the bounds of the list to return.
Post
s that match the search query
org.springframework.social.ApiException
- if there is an error while communicating with Facebook.PagedList<Post> searchHomeFeed(String query)
query
- the search query (e.g., "Dr Seuss")
Post
s 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(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.
Post
s 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(String query, PagingParameters pagedListParameters)
query
- the search query (e.g., "Dr Seuss")pagedListParameters
- the parameters defining the bounds of the list to return.
Post
s 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(String query)
query
- the search query (e.g., "football")
Post
s 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(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.
Post
s 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(String query, PagingParameters pagedListParameters)
query
- the search query (e.g., "football")pagedListParameters
- the parameters defining the bounds of the list to return.
Post
s 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(String userId, String query)
userId
- the ID of the user whose feed is to be searchedquery
- the search query (e.g., "football")
Post
s 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(String userId, 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.
Post
s 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(String userId, 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.
Post
s 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |