Created
May 6, 2011 03:52
-
-
Save ravikiranj/958424 to your computer and use it in GitHub Desktop.
Facebook Object instantiation
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 | |
//require '../src/facebook.php'; //Change this line to point to the correct file path | |
require 'php-sdk/src/facebook.php'; | |
// Create our Application instance (replace this with your appId and secret). | |
$facebook = new Facebook(array( | |
'appId' => '__your__appId__', | |
'secret' => '__your__appSecret__', | |
'cookie' => true, | |
)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment