Ben app yüklü kullanıcı açmış tüm olayları almak istiyorum.
This is not intended to be a public app and is for me only. The user (me) has has given the app permissions like below:
Ben bu kodu kullanıyorum:
<?php
// get all events for logged in fb user
require_once 'facebook.php';
$app_apikey = 'my-key-is-here';
$app_secret = 'my-secret-is-here';
$facebook = new Facebook($app_apikey, $app_secret);
$user_id = $facebook->require_login(); //returns my facebook user_id fine!
$events = $facebook->api_client->events_get($user_id); //returns nothing!
echo $events; //nothing
print_r($events); //no array to print
print_r(json_decode($events)); //no array to print
?>
Herhangi Ben bir sonuç alıyorum neden fikirler events.get()
?