Created
February 19, 2015 17:22
-
-
Save niraj-shah/eef1100aedf9564b5ecf to your computer and use it in GitHub Desktop.
Getting started with the Facebook PHP SDK v4.1
This file contains hidden or 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 | |
// Set the location of the Facebook PHP SDK - this should point to directory containing autoload.php | |
define( 'FACEBOOK_SDK_V4_SRC_DIR', './Facebook/' ); | |
// include required files from Facebook SDK | |
require_once( 'Facebook/autoload.php' ); | |
// start the session | |
session_start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment