public final class FacebookExtractor extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FacebookExtractor.ContentType
Valid content types for a profile
|
static class |
FacebookExtractor.ExtractedVideo
Extended to contain video id from FQL queries
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LIMIT
default maximum item limit for the extractor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<FacebookEvent> |
getEvents() |
static FacebookExtractor |
getExtractor(UserIdentity userId) |
java.util.List<FacebookGroup> |
getGroups() |
java.util.List<FacebookLike> |
getLikes() |
java.util.List<FacebookPhotoDescription> |
getPhotoDescriptions()
This method will not return generated tags
|
java.util.List<FacebookPhotoDescription> |
getPhotoDescriptions(boolean generatedTags,
boolean includeEmpty) |
FacebookProfile |
getProfile(java.util.EnumSet<FacebookExtractor.ContentType> contentTypes) |
java.util.List<FacebookStatusMessage> |
getStatusMessages() |
UserIdentity |
getUserId() |
java.util.List<FacebookVideoDescription> |
getVideoDescriptions()
Note: this will only retrieve first 200 videos
|
public static final int DEFAULT_LIMIT
public static FacebookExtractor getExtractor(UserIdentity userId)
userId
- public java.util.List<FacebookStatusMessage> getStatusMessages()
public java.util.List<FacebookVideoDescription> getVideoDescriptions()
public java.util.List<FacebookLike> getLikes()
public java.util.List<FacebookGroup> getGroups()
public java.util.List<FacebookEvent> getEvents()
public java.util.List<FacebookPhotoDescription> getPhotoDescriptions()
public java.util.List<FacebookPhotoDescription> getPhotoDescriptions(boolean generatedTags, boolean includeEmpty)
generatedTags
- if true the previously generated tags will be retrieved from the database and will be included in the resultsincludeEmpty
- public UserIdentity getUserId()
public FacebookProfile getProfile(java.util.EnumSet<FacebookExtractor.ContentType> contentTypes) throws java.lang.IllegalArgumentException
contentTypes
- list of content types, by default only the basic user details are returnedjava.lang.IllegalArgumentException
- on incompatible content typesCopyright © 2015 Tampere University of Technology, Pori Department.