com.restfb.types
Class User

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.NamedFacebookType
          extended by com.restfb.types.User

public class User
extends NamedFacebookType

Represents the User Graph API type.

Since:
1.5
Author:
Mark Allen

Nested Class Summary
static class User.Education
          Represents the Education 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 getBirthday()
          The user's birthday.
 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.
 String getFirstName()
          The user's first name
 String getGender()
          The user's gender.
 NamedFacebookType getHometown()
          The user's hometown.
 List<String> getInterestedIn()
          The user's interests.
 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 getPicture()
          The user's profile picture URL.
 String getPolitical()
          The user's political affiliation.
 String getRelationshipStatus()
          The user's relationship status.
 String getReligion()
          The user's religion.
 Double getTimezone()
          The user's timezone offset.
 Date getUpdatedTime()
          Date the user's profile was updated.
 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

User

public User()
Method Detail

getFirstName

public String getFirstName()
The user's first name

Returns:
The user's first name.

getLastName

public String getLastName()
The user's last name.

Returns:
The user's last name.

getLink

public String getLink()
A link to the user's profile.

Returns:
A link to the user's profile.

getAbout

public String getAbout()
The user's blurb that appears under their profile picture.

Returns:
The user's blurb that appears under their profile picture.

getRelationshipStatus

public String getRelationshipStatus()
The user's relationship status.

Returns:
The user's relationship status.

getBirthday

public String getBirthday()
The user's birthday.

Returns:
The user's birthday.

getReligion

public String getReligion()
The user's religion.

Returns:
The user's religion.

getWebsite

public String getWebsite()
A link to the user's personal website.

Returns:
A link to the user's personal website.

getEmail

public String getEmail()
The proxied or contact email address granted by the user.

Returns:
The proxied or contact email address granted by the user.

getPicture

public String getPicture()
The user's profile picture URL.

Returns:
The user's profile picture URL.

getTimezone

public Double getTimezone()
The user's timezone offset.

Returns:
The user's timezone offset.

getVerified

public Boolean getVerified()
Is the user verified?

Returns:
User verification status.

getUpdatedTime

public Date getUpdatedTime()
Date the user's profile was updated.

Returns:
Date the user's profile was updated.

getGender

public String getGender()
The user's gender.

Returns:
The user's gender.

getPolitical

public String getPolitical()
The user's political affiliation.

Returns:
The user's political affiliation.

getLocale

public String getLocale()
The user's locale.

Returns:
The user's locale.

getHometown

public NamedFacebookType getHometown()
The user's hometown.

Returns:
The user's hometown.

getLocation

public NamedFacebookType getLocation()
The user's current location.

Returns:
The user's current location.

getInterestedIn

public List<String> getInterestedIn()
The user's interests.

Returns:
The user's interests.

getMeetingFor

public List<String> getMeetingFor()
What genders the user is interested in meeting.

Returns:
What genders the user is interested in meeting.

getWork

public List<User.Work> getWork()
A list of the work history from the user's profile

Returns:
A list of the work history from the user's profile

getEducation

public List<User.Education> getEducation()
A list of the education history from the user's profile

Returns:
A list of the education history from the user's profile


RestFB version 1.5.3. Copyright © 2010 Mark Allen. All Rights Reserved.