问题描述
Facebook页面:目前有8个事件。我可以看到他们非管理员可以看到它们并可以加入他们。
Facebook Page: http://facebook.com/getwellgabby/events/ currently has 8 events on it. I can see them. Non-admins can see them and can join them.
但是,当我通过Graph API或FQL进行调用时,只返回4个未来的事件。结果可以在这里看到:(滚动到底部进行原始响应。)
However, when I make calls via the Graph API or FQL, only 4 future events are returned. Results can be seen here: http://getwellgabby.org/events?raw=1 (Scroll to bottom for raw response.)
FQL查询是:
SELECT eid, name, start_time, end_time, location, venue, description
FROM event WHERE eid IN ( SELECT eid FROM event_member WHERE uid = 213367312037345 ) AND end_time > now()
ORDER BY end_time asc
检查通过Graph API返回的各个事件ID不显示这些事件之间的区别。但是,当通过前端编辑它们时,它们将显示在不同的对话框中。
Inspecting individual event IDs returned via Graph API shows no difference between these events. However, when editing them via the front end, they display in different dialogs.
以下两个示例事件。两者都是由相同的页面管理员创建的。 24小时。第一个事件通过API / FQL调用正确显示。第二个不是。从前端开始,第二个事件的显示方式与第一个不同。
Two sample events follow. Both were created by the same page admin approx. 24 hours apart. The first event displays properly via an API/FQL call. The second does not. From the front end, the second event displays differently than the first.
以下使用FB Graph API Expplorer工具使用具有create_event权限的访问令牌返回数据。
Data below was returned using the FB Graph API Expplorer Tool using an Access Token with "create_event" privileges.
报告正确:
{
"id": "344143808978921",
"owner": {
"name": "Get Well Gabby",
"category": "Non-profit organization",
"id": "213367312037345"
},
"name": "Get Well Gabby Day With The Reading Phillies",
"description": "Please join [truncated...]",
"start_time": "2012-06-10T13:30:00",
"end_time": "2012-06-10T16:30:00",
"location": "FirstEnergy Stadium",
"venue": {
"street": "1900 Centre Ave.",
"city": "Reading",
"state": "Pennsylvania",
"country": "United States",
"latitude": 40.357,
"longitude": -75.91434,
"id": "223424611014786"
},
"privacy": "OPEN",
"updated_time": "2012-04-25T14:22:57+0000",
"type": "event"
}
无法正确报告:
{
"id": "128748077259225",
"owner": {
"name": "Get Well Gabby",
"category": "Non-profit organization",
"id": "213367312037345"
},
"name": "Get Well Gabby Day With The Wilmington Blue Rocks",
"description": "Get Well Gabby Day With [truncated...]",
"start_time": "2012-07-29T13:35:00",
"end_time": "2012-07-29T16:35:00",
"timezone": "America/New_York",
"location": "Frawley Stadium",
"venue": {
"id": "148306638522325"
},
"privacy": "OPEN",
"updated_time": "2012-04-25T18:11:35+0000",
"type": "event"
}
请注意,无法正确报告的事件的前端对话框将不接受其他地点信息。
Note, front end dialog for the event that does not report correctly will not accept additional venue information.
推荐答案
这个问题似乎已经解决了自己的现在。谢谢如果有人跟随这个问题在Facebook上做了一些事情。
The issue seems to have resolved itself for now. Thanks if someone following this issue did something at Facebook.
这篇关于Graph API / FQL不返回页面的所有事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!