public class FacebookProfile extends OAuth20Profile
This class is the user profile for Facebook with appropriate getters.
It is returned by the FacebookClient
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | the email attribute |
String getFirstName() | the first_name attribute |
String getFamilyName() | the last_name attribute |
String getDisplayName() | the name attribute |
String getUsername() | the username attribute |
Gender getGender() | the gender attribute |
Locale getLocale() | the locale attribute |
String getPictureUrl() | the url sub-attribute of the picture attribute |
String getProfileUrl() | the link attribute |
String getLocation() | the name sub-attribute of the location attribute |
More specific attributes | |
String getMiddleName() | the middle_name attribute |
List<FacebookObject> getLanguages() | the languages attribute |
String getThirdPartyId() | the third_party_id attribute |
Integer getTimezone() | the timezone attribute |
Date getUpdateTime() | the updated_time attribute |
Boolean getVerified() | the verified attribute |
String getBio() | the bio attribute |
Date getBirthday() | the birthday attribute |
List<FacebookEducation> getEducation() | the education attribute |
FacebookObject getHometown() | the hometown attribute |
List<String> getInterestedIn() | the interested_in attribute |
FacebookObject getLocationObject() | the locatiion attribute |
String getPolitical() | the political attribute |
List<FacebookObject> getFavoriteAthletes() | the favorite_athletes attribute |
List<FacebookObject> getFavoriteTeams() | the favorite_teams attribute |
String getQuotes() | the quotes attribute |
FacebookRelationshipStatus getRelationshipStatus() | the relationship_status attribute |
String getReligion() | the religion attribute |
FacebookObject getSignificantOther() | the significant_other attribute |
String getWebsite() | the website attribute |
List<FacebookWork> getWork() | the work attribute |
List<FacebookObject> getFriends() | the friends attribute |
List<FacebookInfo> getMovies() | the movies attribute |
List<FacebookInfo> getMusic() | the music attribute |
List<FacebookInfo> getBooks() | the books attribute |
List<FacebookInfo> getLikes() | the likes attribute |
List<FacebookPhoto> getAlbums() | the albums attribute |
List<FacebookEvent> getEvents() | the events attribute |
List<FacebookGroup> getGroups() | the groups attribute |
List<FacebookMusicListen> getMusicListens() | the music.listens attribute |
FacebookPicture getPicture() | the picture attribute |
FacebookClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
FacebookProfile() |
clear, getAccessToken, setAccessToken
getEmail, getFirstName, getGender, getLocale
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
@Deprecated public String getUsername()
getUsername
in class CommonProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public String getLocation()
CommonProfile
getLocation
in class CommonProfile
public String getMiddleName()
public List<FacebookObject> getLanguages()
public String getThirdPartyId()
public Integer getTimezone()
public Date getUpdateTime()
public Boolean getVerified()
public String getBio()
public Date getBirthday()
public List<FacebookEducation> getEducation()
public FacebookObject getHometown()
public FacebookObject getLocationObject()
public String getPolitical()
public List<FacebookObject> getFavoriteAthletes()
public List<FacebookObject> getFavoriteTeams()
public String getQuotes()
public FacebookRelationshipStatus getRelationshipStatus()
public String getReligion()
public FacebookObject getSignificantOther()
public String getWebsite()
public List<FacebookWork> getWork()
public List<FacebookObject> getFriends()
public List<FacebookInfo> getMovies()
public List<FacebookInfo> getMusic()
public List<FacebookInfo> getBooks()
public List<FacebookInfo> getLikes()
public List<FacebookPhoto> getAlbums()
public List<FacebookEvent> getEvents()
public List<FacebookGroup> getGroups()
public List<FacebookMusicListen> getMusicListens()
public FacebookPicture getPicture()
Copyright © 2016. All rights reserved.