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()

      getMiddleName.

      Returns:
      a String object
    • getLanguages

      public List<FacebookObject> getLanguages()

      getLanguages.

      Returns:
      a List object
    • getThirdPartyId

      public String getThirdPartyId()

      getThirdPartyId.

      Returns:
      a String object
    • getTimezone

      public Integer getTimezone()

      getTimezone.

      Returns:
      a Integer object
    • getUpdateTime

      public Date getUpdateTime()

      getUpdateTime.

      Returns:
      a Date object
    • getVerified

      public Boolean getVerified()

      getVerified.

      Returns:
      a Boolean object
    • getAbout

      public String getAbout()

      getAbout.

      Returns:
      a String object
    • getBirthday

      public Date getBirthday()

      getBirthday.

      Returns:
      a Date object
    • getEducation

      public List<FacebookEducation> getEducation()

      getEducation.

      Returns:
      a List object
    • getHometown

      public FacebookObject getHometown()

      getHometown.

      Returns:
      a FacebookObject object
    • getInterestedIn

      public List<String> getInterestedIn()

      getInterestedIn.

      Returns:
      a List object
    • getLocationObject

      public FacebookObject getLocationObject()

      getLocationObject.

      Returns:
      a FacebookObject object
    • getPolitical

      public String getPolitical()

      getPolitical.

      Returns:
      a String object
    • getFavoriteAthletes

      public List<FacebookObject> getFavoriteAthletes()

      getFavoriteAthletes.

      Returns:
      a List object
    • getFavoriteTeams

      public List<FacebookObject> getFavoriteTeams()

      getFavoriteTeams.

      Returns:
      a List object
    • getQuotes

      public String getQuotes()

      getQuotes.

      Returns:
      a String object
    • getRelationshipStatus

      public FacebookRelationshipStatus getRelationshipStatus()

      getRelationshipStatus.

      Returns:
      a FacebookRelationshipStatus object
    • getReligion

      public String getReligion()

      getReligion.

      Returns:
      a String object
    • getSignificantOther

      public FacebookObject getSignificantOther()

      getSignificantOther.

      Returns:
      a FacebookObject object
    • getWebsite

      public String getWebsite()

      getWebsite.

      Returns:
      a String object
    • getWork

      public List<FacebookWork> getWork()

      getWork.

      Returns:
      a List object
    • getFriends

      public List<FacebookObject> getFriends()

      getFriends.

      Returns:
      a List object
    • getMovies

      public List<FacebookInfo> getMovies()

      getMovies.

      Returns:
      a List object
    • getMusic

      public List<FacebookInfo> getMusic()

      getMusic.

      Returns:
      a List object
    • getBooks

      public List<FacebookInfo> getBooks()

      getBooks.

      Returns:
      a List object
    • getLikes

      public List<FacebookInfo> getLikes()

      getLikes.

      Returns:
      a List object
    • getAlbums

      public List<FacebookPhoto> getAlbums()

      getAlbums.

      Returns:
      a List object
    • getEvents

      public List<FacebookEvent> getEvents()

      getEvents.

      Returns:
      a List object
    • getGroups

      public List<FacebookGroup> getGroups()

      getGroups.

      Returns:
      a List object
    • getMusicListens

      public List<FacebookMusicListen> getMusicListens()

      getMusicListens.

      Returns:
      a List object
    • getPicture

      public FacebookPicture getPicture()

      getPicture.

      Returns:
      a FacebookPicture object