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 family
Roman Kushnarenko edited this page Oct 29, 2014
·
2 revisions
Initialize callback listener:
OnFamilyListener onFamilyListener = new OnFamilyListener() {
@Override
public void onComplete(List<FamilyUser> familyUsers) {
Log.i(TAG, "Number of family members = " + familyUsers.size());
}
/*
* You can override other methods here:
* onThinking(), onFail(String reason), onException(Throwable throwable)
*/
};
Get family members:
mSimpleFacebook.getFamily(onFamilyListener);
Get family members of other profile if he also uses your app and accepted the same permissions:
String profileId = ...;
mSimpleFacebook.getFamily(profileId, onFamilyListener);
-
Setup
-
Login/Logout
-
Publish
-
Requests/Invite
-
Get 🔻
-
Additional options
-
Samples