FQL my friends who are attending a particular event

笑着哭i 提交于 2020-01-02 22:04:32

问题


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:


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())


来源:https://stackoverflow.com/questions/7224418/fql-my-friends-who-are-attending-a-particular-event

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!