Created
July 7, 2011 22:32
-
-
Save janhalfar/1070698 to your computer and use it in GitHub Desktop.
facebook API usage example from http://www.joeyrivera.com/2010/facebook-graph-api-app-easy-w-php-sdk/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// facebook API usage example from | |
// http://www.joeyrivera.com/2010/facebook-graph-api-app-easy-w-php-sdk/ | |
require_once ‘library/facebook.php’; | |
$app_id = "yourappid"; | |
$app_secret = "yourappsecret"; | |
$facebook = new Facebook(array( | |
‘appId’ => $app_id, | |
‘secret’ => $app_secret, | |
‘cookie’ => true | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment