Facebook的页面: http://facebook.com/getwellgabby/events/目前上有8个事件。 我可以看到他们。 非管理员可以看到并可以加入他们的行列。
然而,当我通过图形API或FQL拨打电话,只返回4未来的事件。 结果在这里可以看到: http://getwellgabby.org/events?raw=1 (滚动到底部的原始响应。)
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
检查通过图形API返回的单个事件ID显示这些事件之间没有什么区别。 然而,经由前端编辑时他们,他们在不同的对话框显示。
两个样本的事件随之而来。 两个由同一页面管理员创建约。 24小时开。 第一事件经由API / FQL呼叫正确地显示。 第二个没有。 从前端,所述第二事件显示比所述第一不同。
下面的数据是使用一个访问令牌“create_event”特权使用FB图形API Expplorer工具返回。
报告正确:
{
"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"
}
请注意,对于不正确报告将不接受额外的地点信息的事件前端对话框。