问题
I am having problems with logging in on my test android device. I am calling:
FB.Login("", AfterLogin);
I get no error in the response but still the access token is empty (i've noticed that on subsequent requests).
It is important to say that it works fine in the editor (by specifying the access token) and that i didn't test it on any other platform.
I have done everything according to the Facebook Unity SDK guide.
Any suggestions?
Thanks.
回答1:
After I have struggled with this login problem for hours, 40 minutes after posting the question I have found out that this works as expected:
FB.Login("basic_info", AfterLogin);
Is it a bug in the SDK? Or maybe in the Facebook Android app?
来源:https://stackoverflow.com/questions/21437235/unity-beta-sdk-5-0-3-problems-logging-in-on-android-device