@@ -77,10 +77,10 @@ |
||
77 | 77 | * @param string $value The email list name to filter search results by, |
78 | 78 | * or null to disable. |
79 | 79 | */ |
80 | - public function setEmailListName($value) |
|
81 | - { |
|
82 | - $this->_emailListName = $value; |
|
83 | - } |
|
80 | + public function setEmailListName($value) |
|
81 | + { |
|
82 | + $this->_emailListName = $value; |
|
83 | + } |
|
84 | 84 | |
85 | 85 | /** |
86 | 86 | * Get the email list name to query for. If no name is set, null will be |
@@ -3,13 +3,13 @@ |
||
3 | 3 | require_once 'appconfig.php'; |
4 | 4 | |
5 | 5 | $fb = new Facebook\Facebook([ |
6 | - 'app_id' => $appId, // variable with Facebook App ID |
|
7 | - 'app_secret' => $appSecret, |
|
8 | - 'default_graph_version' => 'v3.3', |
|
9 | - ]); |
|
10 | - $helper = $fb->getRedirectLoginHelper(); |
|
11 | - $permissions = ['email','user_photos','user_videos','user_posts','user_link','user_status','user_link']; // Optional permissions |
|
12 | - $loginUrl = $helper->getLoginUrl($CallbackUrl,$permissions); |
|
6 | + 'app_id' => $appId, // variable with Facebook App ID |
|
7 | + 'app_secret' => $appSecret, |
|
8 | + 'default_graph_version' => 'v3.3', |
|
9 | + ]); |
|
10 | + $helper = $fb->getRedirectLoginHelper(); |
|
11 | + $permissions = ['email','user_photos','user_videos','user_posts','user_link','user_status','user_link']; // Optional permissions |
|
12 | + $loginUrl = $helper->getLoginUrl($CallbackUrl,$permissions); |
|
13 | 13 | |
14 | - echo "<h3> Connect Clicking Below Facebook Icon Using Your Facebook Account.<h3>"; |
|
15 | - echo '<a href="' .htmlspecialchars($loginUrl).'"><img alt="Login With Facebook" src="images/fb_icon.png"></a>'; |
|
16 | 14 | \ No newline at end of file |
15 | + echo "<h3> Connect Clicking Below Facebook Icon Using Your Facebook Account.<h3>"; |
|
16 | + echo '<a href="' .htmlspecialchars($loginUrl).'"><img alt="Login With Facebook" src="images/fb_icon.png"></a>'; |
|
17 | 17 | \ No newline at end of file |
@@ -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(); |