is FB.logout() to assure that the user has done logout?
Supposing that after FB.logout() the user changes his FB.id and restarts the FB + GS login process, will everything work?
Best Answer
A
Ali Abdul-Karim
said
over 5 years ago
Hey, we handle it by calling EndSessionRequest to end the current session of the player, and if they have recently logged on with G+ or FB, it will call the appropriate logout method. Then we clear all local data that's related to the player, after that you can login and get all the new data for your "new" player. Hope this helps.
To answer the second question, I think it if you do a EndSessionRequest then change the FB.id then do a login, it should work just fine and create a new account.
-Ali
1 Comment
A
Ali Abdul-Karim
said
over 5 years ago
Answer
Hey, we handle it by calling EndSessionRequest to end the current session of the player, and if they have recently logged on with G+ or FB, it will call the appropriate logout method. Then we clear all local data that's related to the player, after that you can login and get all the new data for your "new" player. Hope this helps.
To answer the second question, I think it if you do a EndSessionRequest then change the FB.id then do a login, it should work just fine and create a new account.
Beppi Menozzi
Good day.
is FB.logout() to assure that the user has done logout?
Supposing that after FB.logout() the user changes his FB.id and restarts the FB + GS login process, will everything work?
we handle it by calling EndSessionRequest to end the current session of the player, and if they have recently logged on with G+ or FB, it will call the appropriate logout method. Then we clear all local data that's related to the player, after that you can login and get all the new data for your "new" player. Hope this helps.
To answer the second question, I think it if you do a EndSessionRequest then change the FB.id then do a login, it should work just fine and create a new account.
-Ali
Ali Abdul-Karim
we handle it by calling EndSessionRequest to end the current session of the player, and if they have recently logged on with G+ or FB, it will call the appropriate logout method. Then we clear all local data that's related to the player, after that you can login and get all the new data for your "new" player. Hope this helps.
To answer the second question, I think it if you do a EndSessionRequest then change the FB.id then do a login, it should work just fine and create a new account.
-Ali
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2486 topics