rynosce
started a topic on Tue, 27 January 2015 at 3:05 AM
Hello ?
whats is correct query API ?
my script :
IEnumerator LoadAccountPlayFab()
{
// https://XXXX.playfabapi.com/Client/LoginWithPlayFab?TitleId=XXXX&Username=XXXXXXXXXX&Password=XXXXXXXXXX&PublisherId=1
WWW temp = new WWW("https://" + TitleId + ".playfabapi.com/Client/LoginWithPlayFab?TitleId=" + TitleId + "&Username=" + inputLogin + "&Password=" + inputLogin + "&PublisherId=1");
yield return temp;
if (temp.error != null)
{
Debug.Log("Error connect PlayFab");
}
else
{
if (temp.text == "0")
{
Debug.Log("Success");
_LoadAccountPlayFab = true;
StartCoroutine(LoadAccPlayFab());
}
else if (temp.text == "1") Debug.Log("Unknown");
else if (temp.text == "1000") Debug.Log("InvalidParams");
else if (temp.text == "1001") Debug.Log("AccountNotFound");
else if (temp.text == "1002") Debug.Log("AccountBanned");
else if (temp.text == "1003") Debug.Log("InvalidUsernameOrPassword");
else { Debug.Log("Other error"); }
}
}
no resultat !
i open browse link
page response clear page !
what correct send query ?
I do not understand the standard library PlayFab+Unity3D !