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