Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook login uses same account every time users login

Tags:

I use Facebook SDK to let users sign in to the android app via Facebook account. When the user taps the Facebook login button for the first time, it produces a dialog to choose the account. Again, when the user logs out and decides to login with different Facebook account, it doesn't prompt to choose the account, it logs in the account the user had chose the previous time

like image 228
Rajesh Avatar asked Aug 28 '19 04:08

Rajesh


1 Answers

Use this code to logout from Facebook.

LoginManager.getInstance().logOut()
like image 97
Prashant Arvind Avatar answered Sep 25 '22 19:09

Prashant Arvind