Getting RSVP status

Jul 27, 2009 at 2:12 PM
Edited Jul 27, 2009 at 2:13 PM

Hey everybody,

first of all; thanks for a super framework! it really makes creating facebook applications soo easy!

However, I currently have a problem. I'm writing a little application, which gets all the facebook events the user has in their event list on facebook.
However, with the normal


The RSVP status is not transfered along with all the other event data and, running a fql query,

fql.query("SELECT rsvp_status FROM event_member WHERE uid=" + user.uid.ToString() + " and eid=" + aevent.eid.ToString());

On each event, takes forever. Is there a 'better' way, which wont take as long?

Best Regards and thanks in advance:
Ken Christensen


Jul 27, 2009 at 3:19 PM

Can't you just remove the eid part of your where clause? Try something like this:

fql.query("SELECT rsvp_status FROM event_member WHERE uid=" + user.uid.ToString());
Jul 27, 2009 at 3:24 PM

why didnt I just think of that? :P

oh well, thanks alot! and, of course alter it to get the eid in the query aswell :)