java - facebook android sdk doesn't show account picker -


i'm trying implement facebook sdk 4 (com.facebook.android:facebook-android-sdk:[4,5)) authentication in app. i'm using loginbutton login app. problem arises after first login.

the account picker displayed first time. , onwards when click login button, automatically logs in account chose first time.

this code i'm using logout:

protected void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     ....     ....     facebooksdk.sdkinitialize(getapplicationcontext()); });  protected void logoutfacebook() {     firebaseauth.getinstance().signout();     loginmanager.getinstance().logout();     accesstoken.setcurrentaccesstoken(null); } 

can please tell me how show account picker each time user clicks login button ?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -