ywj7931 ywj7931 - 1 year ago 121
Android Question

Change Facebook Login button from Logout to Login?

After user logins via facebook, the button will change from "Login" to "Logout", is there any way pro grammatically change back to "Login" status?

Answer Source

You have to be logged out to show LoginButton again, otherwise you can't see LoginButton. If you want to logout pro grammatically, you can do it like,

public void logOut() {

and call this method where you want to show LoginButton again.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download