diff --git a/src/Xamarin.Social/Services/FacebookService.cs b/src/Xamarin.Social/Services/FacebookService.cs index 4aa23c7..9462b0a 100644 --- a/src/Xamarin.Social/Services/FacebookService.cs +++ b/src/Xamarin.Social/Services/FacebookService.cs @@ -49,7 +49,7 @@ protected override Task GetUsernameAsync (IDictionary ac return request.GetResponseAsync ().ContinueWith (reqTask => { var json = reqTask.Result.GetResponseText (); - var username = GetValueFromJson (json, "username"); + var username = GetValueFromJson (json, "name"); if (string.IsNullOrEmpty (username)) { throw new Exception ("Could not read username from the /me API call"); }