문제

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