public class FoursquareProfile extends OAuth20Profile
This class is the user profile for Foursquare with appropriate getters.
It is returned by the FoursquareClient.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the CommonProfile |
|
| String getEmail() | null |
| String getFirstName() | null |
| String getFamilyName() | null |
| Gender getGender() | Gender.UNSPECIFIED |
| String getPictureUrl() | the profile_image_url attribute |
| String getProfileUrl() | the url attribute |
| String getLocation() | the location attribute |
| More specific attributes | |
| Boolean getContributorsEnabled() | the contributors_enabled attribute |
| String getBio() | the bio attribute |
| FoursquareUserContact getContact() | the contact attribute |
| FoursquareUserFriends getFriends() | the friends attribute |
| FoursquareUserPhoto getPhoto() | the photo attribute |
FoursquareClient,
Serialized FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
FoursquareProfile() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributesDefinition |
getAttributesDefinition() |
String |
getBio() |
FoursquareUserContact |
getContact() |
String |
getEmail() |
String |
getFamilyName() |
String |
getFirstName() |
FoursquareUserFriends |
getFriends() |
String |
getLocation() |
FoursquareUserPhoto |
getPhoto() |
String |
getPictureUrl() |
String |
getProfileUrl() |
clear, getAccessToken, setAccessTokengetDisplayName, getGender, getLocale, getUsernameaddAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternalprotected AttributesDefinition getAttributesDefinition()
getAttributesDefinition in class UserProfilepublic String getBio()
public FoursquareUserContact getContact()
public FoursquareUserFriends getFriends()
public FoursquareUserPhoto getPhoto()
public String getFirstName()
getFirstName in class CommonProfilepublic String getLocation()
getLocation in class CommonProfilepublic String getFamilyName()
getFamilyName in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic String getPictureUrl()
getPictureUrl in class CommonProfilepublic String getEmail()
getEmail in class CommonProfileCopyright © 2016. All Rights Reserved.