Permalink
Browse files

Merge pull request #182 from Wolg/patch-1

Update example.php: remove getLoginStatusUrl usage
  • Loading branch information...
2 parents b31c5a7 + 4821853 commit 3388ec541761b93651614b48766608c22daad981 @gfosco gfosco committed Jun 19, 2014
Showing with 0 additions and 5 deletions.
  1. +0 −5 examples/example.php
@@ -46,7 +46,6 @@
if ($user) {
$logoutUrl = $facebook->getLogoutUrl();
} else {
- $statusUrl = $facebook->getLoginStatusUrl();
$loginUrl = $facebook->getLoginUrl();
}
@@ -78,10 +77,6 @@
<a href="<?php echo $logoutUrl; ?>">Logout</a>
<?php else: ?>
<div>
- Check the login status using OAuth 2.0 handled by the PHP SDK:
- <a href="<?php echo $statusUrl; ?>">Check the login status</a>
- </div>
- <div>
Login using OAuth 2.0 handled by the PHP SDK:
<a href="<?php echo $loginUrl; ?>">Login with Facebook</a>
</div>