I successfully did this, although at first I had a slight problem with documentation having only php example.
Just make sure you attach json queries
as the second parameter in the api call, and not as a query string, as in the php example. I.e:
FB.api('/fql', {q:{"query1":"SELECT uid, rsvp_status FROM event_member WHERE eid=12345678","query2":"SELECT name, url, pic FROM profile WHERE id IN (SELECT uid FROM #query1)"}}, function(response) {
source share