[Solved] Get Simple Facebook Profile Data Via PHP SDK [closed]
-Download SDK from developers.facebook.com and upload the folder “Facebook” on your web space; -Create a Facebook application; -Put this code in the same folder of “Facebook”: <?php session_start(); require_once(‘Facebook/Entities/AccessToken.php’); require_once( ‘Facebook/FacebookSession.php’ ); require_once( ‘Facebook/FacebookRedirectLoginHelper.php’ ); require_once(‘Facebook/HttpClients/FacebookHttpable.php’); require_once(‘Facebook/HttpClients/FacebookCurl.php’); require_once(‘Facebook/HttpClients/FacebookCurlHttpClient.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’ … Read more