public interface CommentMethods
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteComment(java.lang.String commentId)
Deletes the comment.
|
Comment |
getComment(java.lang.String commentId)
Returns a single comment.
|
Comment |
getComment(java.lang.String commentId,
Reading reading)
Returns a single comment.
|
ResponseList<Like> |
getCommentLikes(java.lang.String commentId)
Returns the likes on a comment.
|
ResponseList<Like> |
getCommentLikes(java.lang.String commentId,
Reading reading)
Returns the likes on a comment.
|
ResponseList<Comment> |
getCommentReplies(java.lang.String commentId)
Returns the replies on a comment.
|
ResponseList<Comment> |
getCommentReplies(java.lang.String commentId,
Reading reading)
Returns the replies on a comment.
|
boolean |
likeComment(java.lang.String commentId)
Likes the comment.
|
boolean |
unlikeComment(java.lang.String commentId)
Unlikes the comment.
|
Comment getComment(java.lang.String commentId) throws FacebookException
commentId - the ID of a commentFacebookException - when Facebook service or network is unavailableComment getComment(java.lang.String commentId, Reading reading) throws FacebookException
commentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Comment> getCommentReplies(java.lang.String commentId) throws FacebookException
commentId - the ID of a commentFacebookException - when Facebook service or network is unavailableResponseList<Comment> getCommentReplies(java.lang.String commentId, Reading reading) throws FacebookException
commentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableboolean deleteComment(java.lang.String commentId)
throws FacebookException
commentId - the ID of a commentFacebookException - when Facebook service or network is unavailableResponseList<Like> getCommentLikes(java.lang.String commentId) throws FacebookException
commentId - the ID of a commentFacebookException - when Facebook service or network is unavailableResponseList<Like> getCommentLikes(java.lang.String commentId, Reading reading) throws FacebookException
commentId - the ID of a commentreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableboolean likeComment(java.lang.String commentId)
throws FacebookException
commentId - the ID of a commentFacebookException - when Facebook service or network is unavailableboolean unlikeComment(java.lang.String commentId)
throws FacebookException
commentId - the ID of a commentFacebookException - when Facebook service or network is unavailable