Facebook - 用户选择使用FQL参加活动数据

时间:2011-12-26 13:46:36

标签: facebook facebook-fql fql.multiquery

我正在尝试使用FQL获取用户参加活动的名称,但我无法获得真实的结果。我的SQL错误或无法使用?

FQL:

SELECT eid,name,start_time FROM event WHERE eid IN (SELECT eid FROM event_member WHERE uid = USER_ID and rsvp_status='attending' and (eid=EID1 or eid=EID2 or eid=EID3) and start_time < START_TIME  ORDER BY start_time desc)

1 个答案:

答案 0 :(得分:1)

你可能想要这个:

SELECT name, venue, location, start_time FROM event WHERE eid IN (
  SELECT eid FROM event_member WHERE uid = "USER_ID_HERE" and rsvp_status="attending"
);