Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top