If I log in to facebook in a Unity scene is it possible to keep it logged in even when the scene changes?
If I log in to facebook in a Unity scene is it possible to keep it logged in even when the scene changes?
Facebook Unity SDK automatically keeps the user’s logged-in status , therefore, changing scenes won’t affect that, you should be able to make successive calls even if scenes are changed. And, although the user access token has a lifespan of an hour or two, it’s also important to the check & refresh the user access token since Facebook's doc state that they may change that at any time. For more details, please see:
Facebook SDK for Unity Reference
Previous PlayFab thread: How to login once and then stay logged in to Facebook?
BTW, it's recommended to contact Facebook support for Facebook-specific questions where you can receive more professional answers.
3 People are following this question.