简体   繁体   English

如何使用新的Facebook graph API v2.4从页面获取事件

[英]How to get events from a page with the new facebook graph api v2.4

Earlier, this would give back a list of events: clubversuz/events 之前,这会返回事件列表: clubversuz / events

Now it gives back an empty array called 'data'. 现在,它返回一个名为“数据”的空数组。

Ok..they say that now you should explicitly declare the fields in a request, so I tried that too with this, but it return nothing either. 好的,他们说,现在您应该在请求中显式声明字段,所以我也尝试过这样做,但是它也不返回任何内容。 The clubversuz id is used below: clubversuz ID在以下使用:

8261409764/events?fields=end_time,start_time,timezone,id,name

Does anyone know how to go further? 有人知道该怎么走吗?

PS I just started with this API and yesterday I was glad: I could get events. PS:我刚开始使用此API,昨天我很高兴:我可以得到事件。

Now, one day later, it has been broken by changes from fb. 现在,一天后,它被fb的更改所破坏。 Is this how it's going to be with the fb API, Create something, break, repair? fb API,创建内容,中断,修复后会是这样吗? :) :)

It seems that the behaviour is still working if you explicitly provide the API version to be v2.3: 如果您明确提供API版本为v2.3,则该行为似乎仍然有效:

https://graph.facebook.com/v2.3/8261409764/events?access_token= https://graph.facebook.com/v2.3/8261409764/events?access_token=

When you use v2.4 in the above call, it's not returning any events. 在上述调用中使用v2.4时,它不会返回任何事件。 This might actually be a bug; 这实际上可能是一个错误; can you create a bug report ? 您可以创建一个错误报告吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM