Module: fb

Members

(static) config

Properties:
Name Type Description
config
Properties
Name Type Attributes Default Description
permissions Array <optional>
[] Array of permissions
Source:

Methods

(inner) addLoginListener(callback))

Parameters:
Name Type Description
callback) function
Source:

(inner) addLogoutListener(callback))

Parameters:
Name Type Description
callback) function
Source:

(inner) fetchUser(opt)

Parameters:
Name Type Description
opt Object
Properties
Name Type Attributes Default Description
fields String <optional>
'name,email,first_name,last_name' The fields of the user to fetch
success function Success callback to invoke
error function Error callback to invoke
Source:

(inner) removeLoginListener(callback)

Parameters:
Name Type Description
callback function
Source:

(inner) removeLogoutListener(callback)

Parameters:
Name Type Description
callback function
Source: