Class

Facebook

Extends the BaseFacebook class with the intent of using PHP sessions to store user ids and access tokens.

Methods

__construct

__construct()

Identical to the parent constructor, except that we start a PHP session to store the user ID and access token if during the course of execution we discover them.

Parameters:Array – the application configuration. Additionally

accepts “sharedSession” as a boolean to turn on a secondary cookie for environments with a shared session (that is, your app shares the domain with other apps).

:see :

initSharedSession

initSharedSession()

setPersistentData

setPersistentData()

Provides the implementations of the inherited abstract methods. The implementation uses PHP sessions to maintain a store for authorization codes, user ids, CSRF states, and access tokens.

getPersistentData

getPersistentData()

clearPersistentData

clearPersistentData()

clearAllPersistentData

clearAllPersistentData()

deleteSharedSessionCookie

deleteSharedSessionCookie()

getSharedSessionCookieName

getSharedSessionCookieName()

constructSessionVariableName

constructSessionVariableName()

Constants