FQL my friends who are attending a particular even

2019-06-08 08:19发布

I am trying to find all my friends who are are attending a particular event of interest. I think the right way to do it is with FQL. What would be the query to do that?

1条回答
干净又极端
2楼-- · 2019-06-08 08:53

Based on the example in the event_member fql table:

SELECT uid FROM event_member WHERE eid = ... AND rsvp_status = 'attending'

I suppose you could use something like:

SELECT uid FROM event_member WHERE eid = ... AND rsvp_status = 'attending' AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
查看更多
登录 后发表回答