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 events
Roman Kushnarenko edited this page Oct 16, 2014
·
1 revision
Initialize callback listener:
OnEventsListener onEventsListener = new OnEventsListener() {
@Override
public void onComplete(List<Event> events) {
Log.i(TAG, "Number of events = " + events.size());
}
/*
* You can override other methods here:
* onThinking(), onFail(String reason), onException(Throwable throwable)
*/
};
Get my events that I replied as 'attending':
mSimpleFacebook.getEvents(EventDecision.ATTENDING, onEventsListener);
Get attending events of next entities by passing entity id:
Profile
Page
Group
String entityId = ...;
mSimpleFacebook.getEvents(entityId, EventDecision.ATTENDING, onEventsListener);
-
Setup
-
Login/Logout
-
Publish
-
Requests/Invite
-
Get 🔻
-
Additional options
-
Samples