Class Facebook
Extends the BaseFacebook class with the intent of using PHP sessions to store user ids and access tokens.
- BaseFacebook
-
Facebook
Located at facebook.php
public
|
#
__construct( Array $config )
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. |
protected
|
#
setPersistentData( string $key, array $value )
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. |
protected
mixed
|
#
getPersistentData( string $key, boolean $default = false )
Get the data for $key, persisted by BaseFacebook::setPersistentData() |
protected
|
|
protected
|
|
protected
|
VERSION
|
protected static
array
|
$kSupportedKeys | array('state', 'code', 'access_token', 'user_id') |
$CURL_OPTS,
$DOMAIN_MAP,
$DROP_QUERY_PARAMS,
$accessToken,
$appId,
$appSecret,
$fileUploadSupport,
$signedRequest,
$state,
$user
|