我对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')
答案 0 :(得分: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')