// Executes an API call with result mapped to a list of classes we've
// defined. Note that you can pass in an arbitrary number of Parameters -
// here we send along the query as well as the "give me HTTPS URLs" flag
List<User> users =
facebookClient.executeForList("fql.query", User.class,
Parameter.with("query", query), Parameter.with(
"return_ssl_resources", "true"));
System.out.println("My friends and their affiliations:");