|
@@ -8,8 +8,8 @@ |
|
|
block discarded – undo |
|
8
|
8
|
'default_graph_version' => 'v3.3', |
|
9
|
9
|
]); |
|
10
|
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); |
|
|
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
|
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
|
15
|
\ No newline at end of file |
|
|
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 |
Please login to merge, or discard this patch.