public class User extends FacebookObject implements Serializable
Constructor and Description |
---|
User(String id,
String name,
String firstName,
String lastName,
String gender,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
getAbout()
The user's brief about blurb.
|
Location |
getAddress()
Deprecated.
Facebook no longer supports the address field in user profiles. Will return null for newer versions of the Graph API.
|
AgeRange |
getAgeRange()
The user's age range.
|
String |
getBio()
The user's bio.
|
String |
getBirthday()
The user's birthday.
|
CoverPhoto |
getCover() |
Currency |
getCurrency() |
List<Device> |
getDevices() |
List<EducationExperience> |
getEducation()
The user's education history.
|
String |
getEmail()
The user's email address.
|
List<Reference> |
getFavoriteAtheletes()
A list of references to the user's favorite athletes.
|
List<Reference> |
getFavoriteTeams()
A list of references to the user's favorite sports teams.
|
String |
getFirstName()
The user's first name
|
String |
getGender()
The user's gender
|
Reference |
getHometown()
The user's hometown.
|
String |
getId()
The user's Facebook ID
|
List<Reference> |
getInspirationalPeople()
A list of references to people the user is inspired by.
|
String |
getInstallType() |
List<String> |
getInterestedIn() |
List<Reference> |
getLanguages()
A list of references to languages the user claims to know.
|
String |
getLastName()
The user's last name
|
String |
getLink()
A link to the user's profile on Facebook.
|
Locale |
getLocale()
The user's locale
|
Reference |
getLocation()
The user's location.
|
List<String> |
getMeetingFor() |
String |
getMiddleName()
The user's middle name
|
String |
getName()
The user's full name
|
String |
getNameFormat() |
PaymentPricePoints |
getPaymentPricePoints() |
String |
getPolitical()
The user's political affiliation.
|
String |
getQuotes()
The user's quotations.
|
String |
getRelationshipStatus()
The user's relationship status.
|
String |
getReligion()
The user's religion.
|
SecuritySettings |
getSecuritySettings() |
Reference |
getSignificantOther()
The user's significant other.
|
List<Experience> |
getSports() |
int |
getTestGroup() |
String |
getThirdPartyId()
An anonymous, but unique identifier for the user.
|
Float |
getTimezone()
The user's timezone offset from UTC.
|
Date |
getUpdatedTime()
The last time the user's profile was updated.
|
VideoUploadLimits |
getVideoUploadLimits() |
String |
getWebsite()
A link to the user's personal website.
|
List<WorkEntry> |
getWork()
The user's work history.
|
boolean |
isIdentityVerified() |
boolean |
isInstalled() |
Boolean |
isVerified()
The user's account verification status.
|
boolean |
viewerCanSendGift() |
add, getExtraData
public String getId()
@Deprecated public Location getAddress()
public String getName()
public String getFirstName()
public String getMiddleName()
public String getLastName()
public String getNameFormat()
public String getGender()
public Locale getLocale()
public String getEmail()
public String getLink()
public String getWebsite()
public String getThirdPartyId()
public Float getTimezone()
public Date getUpdatedTime()
public Boolean isVerified()
public String getAbout()
public String getBio()
public String getBirthday()
public Reference getLocation()
Reference
to the user's location, if availablepublic Reference getHometown()
Reference
to the user's hometown, if availablepublic List<Reference> getInspirationalPeople()
Reference
to people the user is inspired by, if available.public boolean isIdentityVerified()
public List<Reference> getLanguages()
Reference
to languages the user knows, if available.public List<Reference> getFavoriteTeams()
Reference
s to sports teams the user is a fan of, if available.public List<Reference> getFavoriteAtheletes()
Reference
s to athletes the user is a fan of, if available.public String getReligion()
public PaymentPricePoints getPaymentPricePoints()
PaymentPricePoints
objectpublic String getPolitical()
public String getQuotes()
public String getRelationshipStatus()
public SecuritySettings getSecuritySettings()
public Reference getSignificantOther()
Reference
to the user's significant other, if available.public int getTestGroup()
public boolean viewerCanSendGift()
public List<WorkEntry> getWork()
WorkEntry
items, one for each entry in the user's work history.public List<EducationExperience> getEducation()
EducationExperience
items, one for each entry in the user's education history.public AgeRange getAgeRange()
AgeRange
for the user. Will be AgeRange.UNKNOWN
if the age_range isn't available or if the range given does match the known ranges.public boolean isInstalled()
public String getInstallType()
public CoverPhoto getCover()
public List<Device> getDevices()
public Currency getCurrency()
public VideoUploadLimits getVideoUploadLimits()
public List<Experience> getSports()