facebook.logout()

Type Function
Library facebook.*
Return value Event
Revision 2017.3060
Keywords facebook
See also facebook.login()
fbconnect
Implementing Facebook

Overview

Logs the application out of the user's Facebook session.

The logout comes back as a fbconnect event that is sent to the listener function which was registered with the call to facebook.login().

Syntax

facebook.logout()

Example

Please see the Implementing Facebook guide for code examples and usage details.