I\'m still a bit unsure how I would find this in the documentation, but I\'d like to check whether the logged-in user has RSVP\'ed to an fb-event or not, and show the \"I\'m
You can query the event_member FQL table, something like:
FB.api( { method: 'fql.query', query: 'select rsvp_status from event_member where eid = "EVENT_ID" and uid=me()' }, function(response) { alert(response[0].rsvp_status); } );
Would return (alert) something like: declined
declined