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