Unity Facebook SDK 4.3.4 - AccessToken and Login Status not cleared for previous user

泪湿孤枕 提交于 2020-01-06 01:28:32

问题


I just wanted to see if anyone else have seen this problem, or whether I may be doing something incorrectly. That is, after logging out from the Facebook app and logging in as another person (either through Facebook app directly, or FB.Login via the Unity app), you will still get the profile data for the previous person (access token, login status, userId, etc).

After FB.Init(), FB.IsLoggedIn is still true and FB.UserId and FB.AccessToken is still present for the previous user. Even after a forced FB.Login(), FB.AccessToken and FB.UserId is still the previous users. Only when the app is uninstalled, will the new user be returned.

I've managed to reproduce this with InteractiveConsole example app, deployed on an Android Nexus 7 device. I've also filed a bug report on Facebook, but couldn't tag it with "Unity SDK" since the bug report form only has radio buttons for tags, and "Unity SDK" isn't one of the selections.

Hope to catch the attention of devs here, or see if anyone has seen this or not. Detailed reproduction steps are here: https://developers.facebook.com/bugs/593522247373530

来源:https://stackoverflow.com/questions/19718934/unity-facebook-sdk-4-3-4-accesstoken-and-login-status-not-cleared-for-previous

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