Drupal fboauth module - how to get the friendlist of a user
You need to know $access_token.

$result = fboauth_graph_query('me/friends', $access_token);


See the Facebook API for a list of commands: http://developers.facebook.com/docs/reference/api/