0

我有一个关于 FQL 查询的问题。

我无法获取事件的所有者信息:我收到此错误:

"error": {
    "message": "(#602) owner is not a member of the event table.", 
    "type": "OAuthException", 
    "code": 602
  }

例如对于这个查询:

    SELECT name,description, owner.id from event 
    WHERE eid in (SELECT eid FROM event_member WHERE uid = me() 
    AND start_time > '2013-02-23T00:20:00')
4

1 回答 1

1

发生这种情况正是因为owner它不是event表的成员。请参阅http://developers.facebook.com/docs/reference/fql/event

但是您可以使用字段creator来查找事件的创建者,因此,您的查询将变为

SELECT name,description, creator from event 
WHERE eid in (SELECT eid FROM event_member WHERE uid = me() 
AND start_time > '2013-02-23T00:20:00')
于 2013-02-24T20:57:41.303 回答