質問

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