I want to get the JSON data on Facebook, I got the name but it’s returning a JSON, how can I transform the JSON name to a string ?
This is a print of what i get:
Ignore the *"Nome = "*
this is mine input, I have {"name": "Maria...", "id":
“1000…”}
How can I get this names on a string: actually this is part of my code:
public void GetUserName()
{
FB.API("me?fields=name", Facebook.HttpMethod.GET, Callback);
}
void Callback(FBResult result)
{
texto.guiText.text = ("Nome = " + result.Text);
}