This repository has been archived by the owner on Aug 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 349
Get comments
Roman Kushnarenko edited this page Oct 29, 2014
·
2 revisions
Initialize callback listener:
OnCommentsListener onCommentsListener = new OnCommentsListener() {
@Override
public void onComplete(List<Comment> comments) {
Log.i(TAG, "Number of comments = " + comments.size());
}
/*
* You can override other methods here:
* onThinking(), onFail(String reason), onException(Throwable throwable)
*/
};
Get comments of next entities by passing entity id:
Album
Checkin
Comment
Photo
Post
Video
String entityId = ...;
mSimpleFacebook.getComments(entityId, onCommentsListener);
mSimpleFacebook.getComment(commentId, onCommentsListener);
-
Setup
-
Login/Logout
-
Publish
-
Requests/Invite
-
Get 🔻
-
Additional options
-
Samples