使用Facebook Graph API,我如何能够为我的页面获得过去的事件? [英] Using Facebook Graph API, how can i get past events for my page?

查看:116
本文介绍了使用Facebook Graph API,我如何能够为我的页面获得过去的事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我可以看到所有即将到来的活动:
https://图.facebook.com / page-id / events?access_token = ...



将'since'参数设置为0不显示过去的事件。 / p>

如果有人通过Graph API成功获取过去的事件,请分享。

解决方案

在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] 

这篇关于使用Facebook Graph API,我如何能够为我的页面获得过去的事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆