Class FacebookProfile

java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.oauth.profile.OAuth20Profile
org.pac4j.oauth.profile.facebook.FacebookProfile
All Implemented Interfaces:
Externalizable, Serializable, org.pac4j.core.profile.UserProfile

public class FacebookProfile extends OAuth20Profile

This class is the user profile for Facebook with appropriate getters.

It is returned by the FacebookClient.

Since:
1.1.0
Author:
Jerome Leleu
See Also:
  • Constructor Details

    • FacebookProfile

      public FacebookProfile()
  • Method Details

    • getFamilyName

      public String getFamilyName()
      Overrides:
      getFamilyName in class org.pac4j.core.profile.CommonProfile
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class org.pac4j.core.profile.CommonProfile
    • getPictureUrl

      public URI getPictureUrl()
      Overrides:
      getPictureUrl in class org.pac4j.core.profile.CommonProfile
    • getProfileUrl

      public URI getProfileUrl()
      Overrides:
      getProfileUrl in class org.pac4j.core.profile.CommonProfile
    • getLocation

      public String getLocation()
      Overrides:
      getLocation in class org.pac4j.core.profile.CommonProfile
    • getMiddleName

      public String getMiddleName()
    • getLanguages

      public List<FacebookObject> getLanguages()
    • getThirdPartyId

      public String getThirdPartyId()
    • getTimezone

      public Integer getTimezone()
    • getUpdateTime

      public Date getUpdateTime()
    • getVerified

      public Boolean getVerified()
    • getAbout

      public String getAbout()
    • getBirthday

      public Date getBirthday()
    • getEducation

      public List<FacebookEducation> getEducation()
    • getHometown

      public FacebookObject getHometown()
    • getInterestedIn

      public List<String> getInterestedIn()
    • getLocationObject

      public FacebookObject getLocationObject()
    • getPolitical

      public String getPolitical()
    • getFavoriteAthletes

      public List<FacebookObject> getFavoriteAthletes()
    • getFavoriteTeams

      public List<FacebookObject> getFavoriteTeams()
    • getQuotes

      public String getQuotes()
    • getRelationshipStatus

      public FacebookRelationshipStatus getRelationshipStatus()
    • getReligion

      public String getReligion()
    • getSignificantOther

      public FacebookObject getSignificantOther()
    • getWebsite

      public String getWebsite()
    • getWork

      public List<FacebookWork> getWork()
    • getFriends

      public List<FacebookObject> getFriends()
    • getMovies

      public List<FacebookInfo> getMovies()
    • getMusic

      public List<FacebookInfo> getMusic()
    • getBooks

      public List<FacebookInfo> getBooks()
    • getLikes

      public List<FacebookInfo> getLikes()
    • getAlbums

      public List<FacebookPhoto> getAlbums()
    • getEvents

      public List<FacebookEvent> getEvents()
    • getGroups

      public List<FacebookGroup> getGroups()
    • getMusicListens

      public List<FacebookMusicListen> getMusicListens()
    • getPicture

      public FacebookPicture getPicture()