Skip to content

Instantly share code, notes, and snippets.

Created February 19, 2015 17:22
What would you like to do?
Getting started with the Facebook PHP SDK v4.1
// 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment