Type Function Return value Event Revision Release 2022.3683 Keywords Facebook, logout See also facebook.login() facebook.* fbconnect
Logs the application out of the user's Facebook session.
This logout comes back in the form of a fbconnect event that is sent to the listener specified within facebook.setFBConnectListener() or facebook.login().
This does not log the device's user out of Facebook entirely. If the user is logged into Facebook through a native Facebook app or the device's browser, they will remain logged in via those means.
facebook.logout()