0
I have two activities. Loginactivity -> this login with facebook, working normally. And after the login is called the Mainactivity -> In this I need to log out from facebook. How is it possible to do it? How to bring my login information to Main and run Loginmanager.getInstance(). logout(); ?
If you are using a custom facebook button is that way same.
– Caique Oliveira
I’m getting an error Mainactivity}: java.lang.Nullpointerexception: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$Onclicklistener)' on a null Object Reference .. On the login screen I used the facebook button of the SDK
– Henrique