android - How to call events when using the "Logout" facebook button? -


i have login button in sample hellofacebookactivity facebook.

after login successfully, button switch status "logout"

when click on "logout" facebook button, logged out correctly. want add event when user clicks "logout" button handle logic code... should do?

thank you.

edit: use sdk android native

use following logout session

session session = session.getactivesession(); session.closeandcleartokeninformation() 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -