Android Facebook SDK suggest change

Logging out of Facebook

Facebook SDK 4.0 onwards, this is how we logout:

com.facebook.login.LoginManager.getInstance().logOut();

For versions before 4.0, the logging out is gone by explicitly clearing the access token:

Session session = Session.getActiveSession();
session.closeAndClearTokenInformation();

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents