Skip to content

Commit 4821853

Browse files
committed
Update example.php: remove getLoginStatusUrl usage
1 parent b31c5a7 commit 4821853

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

examples/example.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
if ($user) {
4747
$logoutUrl = $facebook->getLogoutUrl();
4848
} else {
49-
$statusUrl = $facebook->getLoginStatusUrl();
5049
$loginUrl = $facebook->getLoginUrl();
5150
}
5251

@@ -77,10 +76,6 @@
7776
<?php if ($user): ?>
7877
<a href="<?php echo $logoutUrl; ?>">Logout</a>
7978
<?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>
8479
<div>
8580
Login using OAuth 2.0 handled by the PHP SDK:
8681
<a href="<?php echo $loginUrl; ?>">Login with Facebook</a>

0 commit comments

Comments
 (0)