Class: JSJaCFBApplication

JSJaCFBApplication

Somewhat abstract base class that keeps all the Facebook auth params.

new JSJaCFBApplication

Creates a new Facebook application object to use if the JSJaCConnection authtype is set to x-facebook-platform.
Parameters:
Name Type Description
oArg JSON http://www.json.org/index JSON with properties:
appID The Facebook Application ID apiKey The Facebook Application Key apiKey The Facebook Secret Key
Source:
  • JSJaCFBApplication.js, line 17

Methods

getApiKey

Get the Facebook Api Key.
Source:
  • JSJaCFBApplication.js, line 77
Returns:
string The Facebook Api Key.

getApiSecret

Get the Facebook Api Secret.
Source:
  • JSJaCFBApplication.js, line 83
Returns:
string The Facebook Api Secret.

getAppID

Get the Facebook Application ID.
Source:
  • JSJaCFBApplication.js, line 71
Returns:
string The Facebook Application ID.

getSession

Get the Facebook Session object.
Source:
  • JSJaCFBApplication.js, line 91
Returns:
object The Facebook Session object retrived after the user has correctly login inside his Facebook account and granted the xmpp_login privileges to the Facebook Application.