JS API M FB.Connect.Logout

From Facebook Developer Wiki

Revision as of 10:07, 17 January 2009 by Andrew Sutherland (Talk | contribs)
Jump to: navigation, search

public static void logout (CallbackWithBool callback)

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.


Parameters

RequiredNameTypeDescription
required callback CallbackWithBool A callback function to be called when logout completes

Back to class public FB.Connect

reference