Facebook — best way to do FQL “join” with event and event_member?
问题 In a Facebook app I need to get a user's events for a date range and his rsvp status for each event. I can get the user's events fine, but at the moment I'm looking up the rsvp status for each event one at a time, and the app is timing out for people with a large number of events. I'm getting the user's events this way: $fql = "SELECT eid, name, start_time, end_time FROM event WHERE eid IN (SELECT eid FROM event_member WHERE uid = $user) AND start_time > '$timestamp' ORDER BY start_time";