Facebook Client

GraphUser Class

namespace Facebook.Client
public classGraphUser
Overview

Provides a strongly-typed representation of a Facebook User as defined by the Graph API.

Supported in:
  • Windows Store
  • Windows Phone 8
Summary
Constructors
public .ctor()
Initializes a new instance of the GraphUser class.
public .ctor(dynamic user)
Initializes a new instance of the GraphUser class from a dynamic object returned by the Facebook API.
Properties
string public Birthday
Gets or sets the birthday of the user.
string public FirstName
Gets or sets the first name of the user.
string public Id
Gets or sets the ID of the user.
string public LastName
Gets or sets the last name of the user.
string public Link
Gets or sets the Facebook URL of the user.
GraphLocation public Location
Gets or sets the current city of the user.
string public MiddleName
Gets or sets the middle name of the user.
string public Name
Gets or sets the name of the user.
Uri public ProfilePictureUrl
Gets or sets the URL of the user's profile picture.
string public UserName
Gets or sets the Facebook username of the user.
Constructors
public .ctor()
Initializes a new instance of the GraphUser class.
public .ctor(dynamic user)
Initializes a new instance of the GraphUser class from a dynamic object returned by the Facebook API.
Parameters
user
Properties
public Birthday
Gets or sets the birthday of the user.
public FirstName
Gets or sets the first name of the user.
public Id
Gets or sets the ID of the user.
public LastName
Gets or sets the last name of the user.
public Location
Gets or sets the current city of the user.
public MiddleName
Gets or sets the middle name of the user.
public Name
Gets or sets the name of the user.
public ProfilePictureUrl
Gets or sets the URL of the user's profile picture.
public UserName
Gets or sets the Facebook username of the user.