Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
var fb = new FacebookClient("access_token");
var result = fb.Get<FBUser1>("/me");
string name = result.Name;
public class FBUser1 {
public string name { get; set; }
public string first_name { get; set; }
}
public class FBUser2 {
[DataMember(Name="name")]
public string Name { get; set; }
[DataMember(Name="first_name")]
public string FirstName { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.