The Facebook Graph API only receives RSVP'd events when I want everything?

I am trying to use the Facebook API to get all the events that I invite to , (I used to do this with the old facebook api events.get(), but this no longer works).

I have been trying for more than a day and facebook-frustraction is becoming critical!

Using the following, I can get 248 of my events returning to 2006, however these are only the events in which I clicked 'attending' 'maybe'or 'not attending', I would like to receive all the events.

$target= 'https://graph.facebook.com/me/events?limit=2000&fields=privacy,end_time,name,picture,location&access_token=' . $access_token;
$page =  file_get_contents($target);

Does anyone have any ideas?

+3
source share

Source: https://habr.com/ru/post/1785449/


All Articles