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
Publish score
Roman Kushnarenko edited this page Oct 16, 2014
·
1 revision
Initialize callback listener:
OnPublishListener onPublishListener = new OnPublishListener() {
@Override
public void onComplete(String postId) {
Log.i(TAG, "Published successfully");
}
/*
* You can override other methods here:
* onThinking(), onFail(String reason), onException(Throwable throwable)
*/
};
Build score:
Score score = new Score.Builder()
.setScore(25)
.build();
Publish score:
mSimpleFacebook.publish(score, onPublishListener);
-
Setup
-
Login/Logout
-
Publish 🔻
-
Requests/Invite
-
Get
-
Additional options
-
Samples