|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentOperations
Defines operations for reading and posting comments to Facebook.
Method Summary | |
---|---|
java.lang.String |
addComment(java.lang.String objectId,
java.lang.String message)
Posts a comment on an object on behalf of the authenticated user. |
void |
deleteComment(java.lang.String commentId)
Delete a comment |
Comment |
getComment(java.lang.String commentId)
Retrieves a single comment |
java.util.List<Comment> |
getComments(java.lang.String objectId)
Retrieves all comments for a given object. |
java.util.List<Reference> |
getLikes(java.lang.String objectId)
Retrieve a list of references to users who have liked a given object. |
Method Detail |
---|
java.util.List<Comment> getComments(java.lang.String objectId)
objectId
- the objectId
Comment
s for the specified objectComment getComment(java.lang.String commentId)
commentId
- the comment ID
Comment
java.lang.String addComment(java.lang.String objectId, java.lang.String message)
objectId
- the object IDmessage
- the comment message
void deleteComment(java.lang.String commentId)
commentId
- the comment IDjava.util.List<Reference> getLikes(java.lang.String objectId)
objectId
-
Reference
s
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |