public interface CommentService
| Modifier and Type | Method and Description |
|---|---|
String |
addComment(String objectId,
String message)
Posts a comment on an object on behalf of the authenticated user.
|
void |
deleteComment(String commentId)
Deletes a comment.
|
Comment |
getComment(String commentId)
Retrieves a single comment
|
List<Comment> |
getComments(String objectId)
Retrieves the first 25 comments for a given object.
|
List<Comment> |
getComments(String objectId,
int offset,
int limit)
Retrieves comments for a given object.
|
List<Reference> |
getLikes(String objectId)
Retrieve a list of references to users who have liked a given object.
|
List<Comment> getComments(String objectId)
objectId - the ID of the objectComments for the specified objectApiException - if there is an error while communicating with Facebook.List<Comment> getComments(String objectId, int offset, int limit)
objectId - the ID of the objectoffset - the offset into the list of comments to start retrieving commentslimit - the maximum number of comments to retrieveComments for the specified objectApiException - if there is an error while communicating with Facebook.Comment getComment(String commentId)
commentId - the comment IDCommentApiException - if there is an error while communicating with Facebook.String addComment(String objectId, String message)
objectId - the object IDmessage - the comment messageApiException - if there is an error while communicating with Facebook.InsufficientPermissionException - if the user has not granted "publish_stream" permission.MissingAuthorizationException - if FacebookTemplate was not created with an access token.void deleteComment(String commentId)
commentId - the comment IDApiException - if there is an error while communicating with Facebook.InsufficientPermissionException - if the user has not granted "publish_stream" permission.MissingAuthorizationException - if FacebookTemplate was not created with an access token.Copyright © 2011-2013 Seam Framework. All Rights Reserved.