We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31c5a7 commit 4821853Copy full SHA for 4821853
examples/example.php
@@ -46,7 +46,6 @@
46
if ($user) {
47
$logoutUrl = $facebook->getLogoutUrl();
48
} else {
49
- $statusUrl = $facebook->getLoginStatusUrl();
50
$loginUrl = $facebook->getLoginUrl();
51
}
52
@@ -77,10 +76,6 @@
77
76
<?php if ($user): ?>
78
<a href="<?php echo $logoutUrl; ?>">Logout</a>
79
<?php else: ?>
80
- <div>
81
- Check the login status using OAuth 2.0 handled by the PHP SDK:
82
- <a href="<?php echo $statusUrl; ?>">Check the login status</a>
83
- </div>
84
<div>
85
Login using OAuth 2.0 handled by the PHP SDK:
86
<a href="<?php echo $loginUrl; ?>">Login with Facebook</a>
0 commit comments