Make FQL queries using Facebook Javascript API

This allows me to use the Facebook JavaScript API to make a FQL multi-query.

query = {"query1":"SELECT ...", "query2":"SELECT ....", "queryname":"SELECT ..."};
 
FB.api(‘/fql’, {‘q’:query}, function (response) {
  // handle response.
  // each named  query will have the name in  the response obj.
});