Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

Get videos

Roman Kushnarenko edited this page Oct 16, 2014 · 1 revision

Initialize callback listener:

OnVideosListener onVideosListener = new OnVideosListener() {			
	@Override
	public void onComplete(List<Video> videos) {
		Log.i(TAG, "Number of videos = " + videos.size());
	}
	
	/* 
	 * You can override other methods here: 
	 * onThinking(), onFail(String reason), onException(Throwable throwable)
	 */		
};

Get my videos:

mSimpleFacebook.getVideos(onVideosListener);

Get videos of next entities by passing entity id:

  • Profile
  • Event
  • Page
String entityId = ...;
mSimpleFacebook.getVideos(entityId, onVideosListener);
Clone this wiki locally