|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.User
public class User
Represents the User Graph API type.
Nested Class Summary | |
---|---|
static class |
User.Education
Represents the Education Graph API type. |
static class |
User.EducationClass
Represents the Class Graph API type. |
static class |
User.Sport
Represents the Sport Graph API type. |
static class |
User.Work
Represents the Work Graph API type. |
Nested classes/interfaces inherited from class com.restfb.types.FacebookType |
---|
FacebookType.Metadata |
Constructor Summary | |
---|---|
User()
|
Method Summary | |
---|---|
String |
getAbout()
The user's blurb that appears under their profile picture. |
String |
getBio()
The user's biographical snippet. |
String |
getBirthday()
The user's birthday as a String . |
Date |
getBirthdayAsDate()
The user's birthday, typed to java.util.Date if possible. |
List<User.Education> |
getEducation()
A list of the education history from the user's profile. |
String |
getEmail()
The proxied or contact email address granted by the user. |
List<NamedFacebookType> |
getFavoriteAthletes()
A list of the favorite athletes from the user's profile. |
List<NamedFacebookType> |
getFavoriteTeams()
A list of the favorite sports teams from the user's profile. |
String |
getFirstName()
The user's first name. |
String |
getGender()
The user's gender. |
NamedFacebookType |
getHometown()
The user's hometown. |
String |
getHometownName()
The user's hometown name. |
List<String> |
getInterestedIn()
The user's interests. |
List<NamedFacebookType> |
getLanguages()
A list of the languages from the user's profile. |
String |
getLastName()
The user's last name. |
String |
getLink()
A link to the user's profile. |
String |
getLocale()
The user's locale. |
NamedFacebookType |
getLocation()
The user's current location. |
List<String> |
getMeetingFor()
What genders the user is interested in meeting. |
String |
getMiddleName()
The user's middle name. |
String |
getPolitical()
The user's political affiliation. |
String |
getQuotes()
The user's favorite quotes. |
String |
getRelationshipStatus()
The user's relationship status. |
String |
getReligion()
The user's religion. |
NamedFacebookType |
getSignificantOther()
The user's significant other. |
List<User.Sport> |
getSports()
A list of the sports from the user's profile. |
String |
getThirdPartyId()
An anonymous, but unique identifier for the user. |
Double |
getTimezone()
The user's timezone offset. |
Date |
getUpdatedTime()
Date the user's profile was updated. |
String |
getUsername()
The user's Facebook username. |
Boolean |
getVerified()
Is the user verified? |
String |
getWebsite()
A link to the user's personal website. |
List<User.Work> |
getWork()
A list of the work history from the user's profile. |
Methods inherited from class com.restfb.types.NamedFacebookType |
---|
getName |
Methods inherited from class com.restfb.types.FacebookType |
---|
equals, getId, getMetadata, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public User()
Method Detail |
---|
public String getFirstName()
public String getMiddleName()
public String getLastName()
public String getLink()
public String getAbout()
public String getRelationshipStatus()
public String getBirthday()
String
.
Will always succeed, even if the user has specified month/year format only.
If you'd like to use a typed version of this accessor, call
getBirthdayAsDate()
instead.
String
.public Date getBirthdayAsDate()
java.util.Date
if possible.
null
if unavailable or only
available in month/year format.public String getReligion()
public String getWebsite()
public String getEmail()
public String getQuotes()
public Double getTimezone()
public Boolean getVerified()
public Date getUpdatedTime()
public String getGender()
public String getBio()
public String getPolitical()
public String getLocale()
public String getUsername()
public NamedFacebookType getHometown()
Sometimes this can be null
- check getHometownName()
instead in that case.
public String getHometownName()
public NamedFacebookType getLocation()
public NamedFacebookType getSignificantOther()
public String getThirdPartyId()
public List<String> getInterestedIn()
public List<String> getMeetingFor()
public List<User.Work> getWork()
public List<User.Education> getEducation()
public List<User.Sport> getSports()
public List<NamedFacebookType> getFavoriteTeams()
public List<NamedFacebookType> getFavoriteAthletes()
public List<NamedFacebookType> getLanguages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |