// logar void LoginCallback2(FBResult result) { if (result.Error != null) { print("Error Response:\n" + result.Error); } else if (!FB.IsLoggedIn) { print("Login cancelled by Player"); } else { IDictionary dict = Facebook.MiniJSON.Json.Deserialize(result.Text) as IDictionary; fbname = dict["first_name"].ToString(); print("your name is: " + fbname); //pega a foto 50x50 no usuario StartCoroutine(GetTexture()); controller.LoginFacebook(FB.UserId, fbname); } }