# Configuration

Facebook supports several configuration settings. You can override their values in your config/facebook.php file.

# apiVersion

Graph API version used to request the Facebook API.

'apiVersion' => 'v2.8',

# cacheDuration

The amount of time cache should last.

See http://www.php.net/manual/en/dateinterval.construct.php (opens new window)

'cacheDuration' => 'PT1H',

# enableCache

Whether request to APIs should be cached or not.

'enableCache' => true,

# oauthAuthorizationOptions

OAuth authorization options.

'oauthAuthorizationOptions' => [],

# oauthClientId

OAuth client ID.

'oauthClientId' => 'YOUR_CLIENT_ID',

# oauthClientSecret

OAuth client secret.

'oauthClientSecret' => 'YOUR_CLIENT_SECRET',

# oauthScope

OAuth scope.

'oauthScope' => ['public_profile', 'manage_pages', 'read_insights'],