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_once 'fb_api/facebook.php'; | |
//this converts Pagename or Username to the specific ID | |
require_once 'convFbName.inc.php'; | |
// make sure this api file is in your directory, if not get it here https://github.com/facebook/php-sdk/tree/master/src | |
//set the correct timezone more examples can be found at http://php.net/manual/en/timezones.php | |
date_default_timezone_set('Europe/Berlin'); | |
// Authenticate |
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_once 'fb_api/facebook.php'; | |
//this converts Pagename or Username to the specific ID | |
require_once 'convFbName.inc.php'; | |
// make sure this api file is in your directory, if not get it here https://github.com/facebook/php-sdk/tree/master/src | |
//set the correct timezone more examples can be found at http://php.net/manual/en/timezones.php | |
date_default_timezone_set('Europe/Berlin'); | |
// Authenticate |