To run an FQL query, pass the parameters in as an array, with the 'method' property set to 'fql.query':
$result = $facebook->api( array( 'method' => 'fql.query', 'query' => 'SELECT . . . ', ));