You need to do an API request or use FQL in order to get more information about the user. http://developers.facebook.com/docs/reference/php/facebook-api/ has examples that show you how to get the user's name with using the API method. And then here is the API documentation for FriendsList, and here is the FQL docs. Make sure you have the read_friendlists permission. Let me know if you have any questions :)
Example with code:
Follow the instructions at http://developers.facebook.com/docs/reference/php/ to install the PHP SDK from https://github.com/facebook/facebook-php-sdk/ .
Then go to http://developers.facebook.com/docs/reference/php/facebook-api/ and copy the first example into a file. Make sure to update the app id, app secret, and that your require_once is set to right location.
Then replace
try {
$user_profile = $facebook->api('/me','GET');
echo "Name: " . $user_profile['name'];
with
try {
//Get User Name
$user_profile = $facebook->api('/me','GET');
//Get User's Friends
$friends_list = $facebook->api('/me/friends', 'GET');
echo "<h1>Name: " . $user_profile['name']."</h1>";
echo "<h2>Friends:</h2>";
foreach ($friends_list['data'] as $friend)
{
echo $friend['name']."<br>";
}