|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PostMethods
| Method Summary | |
|---|---|
String |
commentPost(String postId,
CommentUpdate commentUpdate)
Comments on the post. |
String |
commentPost(String postId,
String message)
Comments on the post. |
boolean |
deletePost(String postId)
Deletes the post. |
ResponseList<Post> |
getFeed()
Returns the current user's/page's/event's wall. |
ResponseList<Post> |
getFeed(Reading reading)
Returns the current user's/page's/event's wall. |
ResponseList<Post> |
getFeed(String id)
Returns a user's/page's/event's wall. |
ResponseList<Post> |
getFeed(String id,
Reading reading)
Returns a user's/page's/event's wall. |
ResponseList<Post> |
getHome()
Returns the current user's news feed. |
ResponseList<Post> |
getHome(Reading reading)
Returns the current user's news feed. |
Post |
getPost(String postId)
Returns a single post. |
Post |
getPost(String postId,
Reading reading)
Returns a single post. |
ResponseList<Comment> |
getPostComments(String postId)
Returns all of the comments on a post. |
ResponseList<Comment> |
getPostComments(String postId,
Reading reading)
Returns all of the comments on a post. |
ResponseList<Like> |
getPostLikes(String postId)
Returns the likes on a post. |
ResponseList<Like> |
getPostLikes(String postId,
Reading reading)
Returns the likes on a post. |
ResponseList<Reaction> |
getPostReactions(String postId)
Returns the reactions on a post. |
ResponseList<Reaction> |
getPostReactions(String postId,
Reading reading)
Returns the reactions on a post. |
ResponseList<Post> |
getPosts()
Returns the current user's/page's own posts. |
ResponseList<Post> |
getPosts(Reading reading)
Returns the current user's/page's own posts. |
ResponseList<Post> |
getPosts(String id)
Returns the user's/page's own posts. |
ResponseList<Post> |
getPosts(String id,
Reading reading)
Returns the user's/page's own posts. |
ResponseList<Post> |
getSharedPosts(String postId)
Returns the posts in which this post is shared. |
ResponseList<Post> |
getSharedPosts(String postId,
Reading reading)
Returns the posts in which this post is shared. |
ResponseList<Post> |
getStatuses()
Returns the current user's status updates. |
ResponseList<Post> |
getStatuses(Reading reading)
Returns the current user's status updates. |
ResponseList<Post> |
getStatuses(String id)
Returns the user's/page's status updates. |
ResponseList<Post> |
getStatuses(String id,
Reading reading)
Returns the user's/page's status updates. |
ResponseList<Post> |
getTagged()
Returns the posts the current user is tagged in. |
ResponseList<Post> |
getTagged(Reading reading)
Returns the posts the current user is tagged in. |
ResponseList<Post> |
getTagged(String userId)
Returns the posts a user is tagged in. |
ResponseList<Post> |
getTagged(String userId,
Reading reading)
Returns the posts the user is tagged in. |
boolean |
likePost(String postId)
Likes the post. |
String |
postFeed(PostUpdate postUpdate)
Creates the post. |
String |
postFeed(String id,
PostUpdate postUpdate)
Creates the post. |
String |
postLink(String userId,
URL link)
Creates the link. |
String |
postLink(String userId,
URL link,
String message)
Creates the link. |
String |
postLink(URL link)
Creates the link. |
String |
postLink(URL link,
String message)
Creates the link. |
String |
postStatusMessage(String message)
Creates the status message. |
String |
postStatusMessage(String id,
String message)
Creates the status message. |
boolean |
unlikePost(String postId)
Unlikes the post. |
| Method Detail |
|---|
ResponseList<Post> getFeed()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getFeed(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getFeed(String id)
throws FacebookException
id - the ID of a user/page/event
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getFeed(String id,
Reading reading)
throws FacebookException
id - the ID of a user/page/eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getHome()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getHome(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPosts()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPosts(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPosts(String id)
throws FacebookException
id - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getPosts(String id,
Reading reading)
throws FacebookException
id - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getStatuses()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getStatuses(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getStatuses(String id)
throws FacebookException
id - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getStatuses(String id,
Reading reading)
throws FacebookException
id - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getTagged()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getTagged(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getTagged(String userId)
throws FacebookException
userId - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getTagged(String userId,
Reading reading)
throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
Post getPost(String postId)
throws FacebookException
postId - the ID of the post
FacebookException - when Facebook service or network is unavailable
Post getPost(String postId,
Reading reading)
throws FacebookException
postId - the ID of the postreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Comment> getPostComments(String postId)
throws FacebookException
postId - the ID of a post
FacebookException - when Facebook service or network is unavailable
ResponseList<Comment> getPostComments(String postId,
Reading reading)
throws FacebookException
postId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String commentPost(String postId,
String message)
throws FacebookException
postId - the ID of the postmessage - comment text
FacebookException - when Facebook service or network is unavailable
String commentPost(String postId,
CommentUpdate commentUpdate)
throws FacebookException
postId - the ID of the postcommentUpdate - comment content
FacebookException - when Facebook service or network is unavailable
ResponseList<Like> getPostLikes(String postId)
throws FacebookException
postId - the ID of a post
FacebookException - when Facebook service or network is unavailable
ResponseList<Like> getPostLikes(String postId,
Reading reading)
throws FacebookException
postId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getSharedPosts(String postId)
throws FacebookException
postId - the ID of a post
FacebookException - when Facebook service or network is unavailable
ResponseList<Post> getSharedPosts(String postId,
Reading reading)
throws FacebookException
postId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean likePost(String postId)
throws FacebookException
postId - the ID of the post
FacebookException - when Facebook service or network is unavailable
boolean unlikePost(String postId)
throws FacebookException
postId - the ID of the post
FacebookException - when Facebook service or network is unavailable
String postFeed(PostUpdate postUpdate)
throws FacebookException
postUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
String postFeed(String id,
PostUpdate postUpdate)
throws FacebookException
id - the ID of a user/page/eventpostUpdate - the post to be created
FacebookException - when Facebook service or network is unavailable
String postLink(URL link)
throws FacebookException
link - link URL
FacebookException - when Facebook service or network is unavailable
String postLink(URL link,
String message)
throws FacebookException
link - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
String postLink(String userId,
URL link)
throws FacebookException
userId - the ID of a userlink - link URL
FacebookException - when Facebook service or network is unavailable
String postLink(String userId,
URL link,
String message)
throws FacebookException
userId - the ID of a userlink - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
String postStatusMessage(String message)
throws FacebookException
message - link message
FacebookException - when Facebook service or network is unavailable
String postStatusMessage(String id,
String message)
throws FacebookException
id - the ID of a user/pagemessage - link message
FacebookException - when Facebook service or network is unavailable
boolean deletePost(String postId)
throws FacebookException
postId - the ID of the post
FacebookException - when Facebook service or network is unavailable
ResponseList<Reaction> getPostReactions(String postId)
throws FacebookException
postId - the ID of the post
FacebookException - when Facebook service or network is unavailable
ResponseList<Reaction> getPostReactions(String postId,
Reading reading)
throws FacebookException
postId - the ID of a postreading - optional reading parameters. see Graph API#reading - Facebook Developers see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||