@@ -9,10 +9,10 @@ |
||
| 9 | 9 | session_start(); |
| 10 | 10 | require_once 'appconfig.php'; |
| 11 | 11 | $fb = new Facebook\Facebook([ |
| 12 | - 'app_id' => $appId, // variable with Facebook App ID |
|
| 13 | - 'app_secret' => $appSecret, |
|
| 14 | - 'default_graph_version' => 'v3.3', |
|
| 15 | - ]); |
|
| 12 | + 'app_id' => $appId, // variable with Facebook App ID |
|
| 13 | + 'app_secret' => $appSecret, |
|
| 14 | + 'default_graph_version' => 'v3.3', |
|
| 15 | + ]); |
|
| 16 | 16 | $helper = $fb->getRedirectLoginHelper(); |
| 17 | 17 | try { |
| 18 | 18 | $accessToken = $helper->getAccessToken(); |