-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathlaravel-facebook-sdk.php
49 lines (46 loc) · 1.59 KB
/
laravel-facebook-sdk.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
return [
/*
* In order to integrate the Facebook SDK into your site,
* you'll need to create an app on Facebook and enter the
* app's ID and secret here.
*
* Add an app: https://developers.facebook.com/apps
*
* You can add additional config options here that are
* available on the main Facebook\Facebook super service.
*
* https://developers.facebook.com/docs/php/Facebook/5.0.0#config
*
* Using environment variables is the recommended way of
* storing your app ID and app secret. Make sure to update
* your /.env file with your app ID and secret.
*/
'facebook_config' => [
'app_id' => env('FB_APP_ID'),
'app_secret' => env('FB_APP_SECRET'),
'default_graph_version' => env('FB_GRAPH_VERSION','v2.9'),
//'enable_beta_mode' => true,
// 'http_client_handler' => env('FB_CLIENT_HANDLER','guzzle'),
],
/*
* The default list of permissions that are
* requested when authenticating a new user with your app.
* The fewer, the better! Leaving this empty is the best.
* You can overwrite this when creating the login link.
*
* Example:
*
* 'default_scope' => ['email', 'user_birthday'],
*
* For a full list of permissions see:
*
* https://developers.facebook.com/docs/facebook-login/permissions
*/
'default_scope' => [],
/*
* The default endpoint that Facebook will redirect to after
* an authentication attempt.
*/
'default_redirect_uri' => env('FB_REDIRECT_URL','http://api.fb.dev/fb/callback'),
];