Question

I can access the events info for a page.

$events = $facebook->api('myPage/events?access_token=mytokenhere'); 

I've tried:

$events = $facebook->api('myPage/pe?access_token=mytokenhere');

Which seemed the obvious choice but it returns a fatal.

I cannot find any mention of PAST events in the 'documentation'. Does this mean it is not (currently) possible?

Was it helpful?

Solution

I think the "events" object returns all events as opposed the actual events page which only shows current ones, yes very inconsistent! The good news is you should be able to manipulate the returned data to separate current and past events using a timestamp in your php.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top