Unity Beta SDK 5.0.3 - Problems logging in on Andr

2019-09-15 00:32发布

问题:

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?