FB.Connect.logout

Description

Log user out of current session as well as Facebook. If the user has sessions with other connected apps, these sessions will be closed as well. If user does not have a session, the callback function will be called immediately.

Signature

logout(Function callback)

Parameters

callbackFunction

A callback function with no parameters to be called when logout completes