I\'m using the most recent version of the Facebook SDK (which lets to connect to something called the \'graph API\' though I\'m not sure). I\'ve adapted Facebook\'s example
I think this is what you want:
$friends = $facebook->api('/me/friends');