i\'m trying to get Facebook user id using the php sdk like this
$fb = new Facebook\\Facebook([ \'app_id\' => \'11111111111\', \'app_secret\' =>
In my case i have checked error and found error which lead me to solution with executing code:
date_default_timezone_set('Europe/Istanbul');
before script. Worked like a charm. For your location check: timezones.europe.php