public override CookieUserData GetUserData(string token, out Account account) { Uri uri = new Uri(string.Format("https://graph.facebook.com/me?access_token={0}&fields=name,email", token)); string response = HttpRequestHelper.SendRequest(uri); Dictionary <string, string> facebookUserData = JsonConvert.DeserializeObject <Dictionary <string, string> >(response); CookieUserData cookieUserData = new CookieUserData(); cookieUserData.OAuthProviderName = ProviderName; cookieUserData.OAuthToken = token; cookieUserData.OAuthUserId = facebookUserData["id"]; cookieUserData.UserName = facebookUserData["name"]; account = new Account(); account.Email = facebookUserData["email"]; account.SendNews = false; return(cookieUserData); }