Posts

Showing posts from February, 2015

Basic Skeleton for using the Facebook PHP SDK v.4.4.0

  <? session_start (); require_once ( ' Facebook/FacebookSession.php ' ); require_once ( ' Facebook/FacebookRedirectLoginHelper.php ' ); require_once ( ' Facebook/FacebookRequest.php ' ); require_once ( ' Facebook/FacebookResponse.php ' ); require_once ( ' Facebook/FacebookSDKException.php ' ); require_once ( ' Facebook/FacebookRequestException.php ' ); require_once ( ' Facebook/FacebookAuthorizationException.php ' ); require_once ( ' Facebook/GraphObject.php ' ); use Facebook\FacebookSession; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebook\FacebookRequestException; use Facebook\FacebookAuthorizationException; use Facebook\GraphObject; // init app with app id (APPID) and secret (SECRET) $appID = ' YOUR_APP_ID ' ; $appSecret = ' YOUR_APP_SECRET ' ; $appLoginURL = ' https:...