且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Facebook Graph API,我如何能够为我的页面获得过去的事件?

更新时间:2022-10-25 16:49:22

在Facebook图API中存在一个不固定的错误,阻止用户从不是他的页面检索过去的事件。 / p>

其实唯一的解决方案是使用一些这样的FQL:

  SELECT eid,name,description,start_time FROM event WHERE creator = [pageid] 


Currently I can see all upcoming events: https://graph.facebook.com/page-id/events?access_token=...

Setting the 'since' parameter to 0 does not show past events.

If anyone has successfully fetched past events through the Graph API please share.

There is an unfixed bug in the facebook graph API preventing the user from retrieving past events from pages that are not his.

In fact the only solution is to use some FQL like this:

SELECT eid, name, description, start_time FROM event WHERE creator = [pageid]