SyntaxFix
Write A Post
Hire A Developer
Questions
I think this is what you want:
$friends = $facebook->api('/me/friends');