|
|||||||||
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 |
deleteFeedEntry(java.lang.String id)
Deletes a feed entry |
java.util.List<Post> |
getFeed()
Retrieves recent feed entries for the authenticated user. |
java.util.List<Post> |
getFeed(java.lang.String ownerId)
Retrieves recent feed entries for a given user. |
Post |
getFeedEntry(java.lang.String entryId)
Retrieves a single feed entry. |
java.util.List<Post> |
getHomeFeed()
Retrieves the user's home feed. |
java.util.List<Post> |
getHomeFeed(java.lang.String userId)
Retrieves the user's home feed. |
java.util.List<LinkPost> |
getLinks()
Retrieves the link entries from the authenticated user's feed. |
java.util.List<LinkPost> |
getLinks(java.lang.String ownerId)
Retrieves the link entries from the specified owner's feed. |
java.util.List<NotePost> |
getNotes()
Retrieves the note entries from the authenticated user's feed. |
java.util.List<NotePost> |
getNotes(java.lang.String ownerId)
Retrieves the note entries from the specified owner's feed. |
java.util.List<Post> |
getPosts()
Retrieves the post entries from the authenticated user's feed. |
java.util.List<Post> |
getPosts(java.lang.String ownerId)
Retrieves the post entries from the specified owner's feed. |
java.util.List<StatusPost> |
getStatuses()
Retrieves the status entries from the authenticated user's feed. |
java.util.List<StatusPost> |
getStatuses(java.lang.String userId)
Retrieves the status entries from the specified user's feed. |
java.lang.String |
postLink(java.lang.String message,
FacebookLink link)
Posts a link to the authenticated user's feed. |
java.lang.String |
updateStatus(java.lang.String message)
Posts a status update to the authenticated user's feed. |
Method Detail |
---|
java.util.List<Post> getFeed()
Post
s for the authenticated user.java.util.List<Post> getFeed(java.lang.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.java.util.List<Post> getHomeFeed()
Post
s from the authenticated user's home feed.java.util.List<Post> getHomeFeed(java.lang.String userId)
userId
- the user ID.
Post
s from the specified user's home feed.Post getFeedEntry(java.lang.String entryId)
entryId
- the entry ID
Post
java.util.List<StatusPost> getStatuses()
Post
s.java.util.List<StatusPost> getStatuses(java.lang.String userId)
userId
- the user's ID
Post
s.java.util.List<LinkPost> getLinks()
Post
s.java.util.List<LinkPost> getLinks(java.lang.String ownerId)
ownerId
- the owner of the feed (could be a user, page, event, etc)
Post
s.java.util.List<NotePost> getNotes()
Post
s.java.util.List<NotePost> getNotes(java.lang.String ownerId)
ownerId
- the owner of the feed (could be a user, page, event, etc)
Post
s.java.util.List<Post> getPosts()
Post
s.java.util.List<Post> getPosts(java.lang.String ownerId)
ownerId
- the owner of the feed (could be a user, page, event, etc)
Post
s.java.lang.String updateStatus(java.lang.String message)
message
- the message to post.
java.lang.String postLink(java.lang.String message, FacebookLink link)
message
- a message to send with the link.
void deleteFeedEntry(java.lang.String id)
id
- the feed entry ID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |