JS API M FB.Connect.Logout

From Facebook Developer Wiki

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