Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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 {
public string Name { get; set; }
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.