Type Function Return value Event Revision Release 2024.3703 Keywords Facebook, logout See also facebook.login() facebook.* fbconnect
Logs the application out of the user's Facebook session.
The logout comes back in the form of a fbconnect event that is sent to the listener specified within facebook.init() or facebook.setFBConnectListener().
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()