Unity Beta SDK 5.0.3 - Problems logging in on Android device

。_饼干妹妹 提交于 2019-12-13 06:21:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!