public class Profile extends User
| Modifier and Type | Class and Description |
|---|---|
static class |
Profile.Properties |
| Constructor and Description |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
AgeRange |
getAgeRange()
The user's age range.
|
java.lang.String |
getBio()
|
java.lang.String |
getBirthday()
Returns the birthday of the user.
|
Photo |
getCover()
The user's cover photo.
|
java.lang.String |
getCurrency()
|
java.util.List<Education> |
getEducation()
|
java.lang.String |
getEmail()
Return the email of the user.
Permissions: Permission.EMAIL
To get the details about the place, use GetPage with this id. |
java.util.List<java.lang.String> |
getFavoriteAthletes()
|
java.util.List<java.lang.String> |
getFavoriteTeams()
|
java.lang.String |
getFirstName()
Returns the first name of the user.
|
java.lang.String |
getGender()
Returns the gender of the user.
|
IdName |
getHometown()
The user's hometown
Permissions: Permission.USER_HOMETOWNTo get the details about the place, use GetPage with this id. |
java.lang.String |
getId()
Returns the ID of the user.
|
java.lang.Boolean |
getInstalled()
Specifies whether the user has installed the application associated with
the app access token that is used to make the request.
|
java.util.List<Language> |
getLanguages()
|
java.lang.String |
getLastName()
Returns the last name of the user.
|
java.lang.String |
getLink()
Returns the Facebook URL of the user.
|
java.lang.String |
getLocale()
Return the ISO language code and ISO country code of the user.
|
IdName |
getLocation()
|
java.lang.String |
getMiddleName()
Returns the middle name of the user.
|
java.lang.String |
getName()
Returns the name of the user.
|
java.lang.String |
getPicture()
|
java.lang.String |
getPolitical()
|
java.lang.String |
getQuotes()
|
java.lang.String |
getRelationshipStatus()
The user's relationship status:
Single In a relationship Engaged Married It's complicated In an open relationship Widowed Separated Divorced In a civil union In a domestic partnership Permissions: Permission.USER_RELATIONSHIPS |
java.lang.String |
getReligion()
|
java.lang.String |
getThirdPartyId()
An anonymous, but unique identifier for the user.
|
java.lang.Integer |
getTimeZone()
Return the timezone of the user.
Permissions: Permission.USER_ABOUT_ME
Note: Avaliable only for my profile |
java.util.Date |
getUpdatedTime()
The last time the user's profile was updated; changes to the languages,
link, timezone, verified, interested_in, favorite_athletes,
favorite_teams, and video_upload_limits are not not reflected in this
value.
Permissions: Permission.USER_ABOUT_ME
|
java.lang.Boolean |
getVerified()
The user's account verification status.
Permissions: Permission.USER_ABOUT_ME
Note: A user is considered verified if she takes any of the following actions: Registers for mobile Confirms her account via SMS Enters a valid credit card |
java.lang.String |
getWebsite()
|
java.util.List<Work> |
getWork()
|
public java.lang.String getName()
public java.lang.String getFirstName()
public java.lang.String getMiddleName()
public java.lang.String getLastName()
public java.lang.String getGender()
public java.lang.String getLocale()
Permission.USER_ABOUT_MEpublic java.util.List<Language> getLanguages()
public java.lang.String getLink()
public AgeRange getAgeRange()
public java.lang.String getThirdPartyId()
public java.lang.Boolean getInstalled()
Permission.USER_ABOUT_METrue if installed, otherwise Falsepublic java.lang.Integer getTimeZone()
Permission.USER_ABOUT_ME
public java.util.Date getUpdatedTime()
Permission.USER_ABOUT_ME
public java.lang.Boolean getVerified()
Permission.USER_ABOUT_ME
public java.lang.String getBio()
public java.lang.String getBirthday()
public Photo getCover()
Photo.getSource() Permission.USER_ABOUT_MEpublic java.lang.String getCurrency()
public java.util.List<Education> getEducation()
public java.lang.String getEmail()
Permission.EMAIL
To get the details about the place, use GetPage with this id.public IdName getHometown()
Permission.USER_HOMETOWNpublic IdName getLocation()
public java.lang.String getPolitical()
public java.util.List<java.lang.String> getFavoriteAthletes()
public java.util.List<java.lang.String> getFavoriteTeams()
public java.lang.String getPicture()
public java.lang.String getQuotes()
public java.lang.String getRelationshipStatus()
Permission.USER_RELATIONSHIPSpublic java.lang.String getReligion()
public java.lang.String getWebsite()
public java.util.List<Work> getWork()