I use the LoginButton
from the Facebook Android SDK to login to my application. How do I programmatically log out the user from any Activity?
Can you use closeAndClearTokenInformation()
as described here: https://developers.facebook.com/docs/reference/android/current/class/Session/ ?
See also How to programmatically log out from Facebook SDK 3.0 without using Facebook login/logout button?