Revision: 47459
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 8, 2011 12:22 by dubogii
Initial Code
Using graph api: function getUserFriendList($facebook){ $friends = $facebook->api('/me/friends'); return $friends; } Using legacy api: function getUserFriendList($facebook, $uid){ try { $param = array( 'method' => 'friends.get', 'uid' => $uid, 'flid' => '', 'callback'=> '' ); $friends = $facebook->api($param); return $friends; } catch(Exception $o) { d($o); } return ''; }
Initial URL
http://thinkdiff.net/facebook/how-to-retrieve-facebook-users-friendlist/
Initial Description
Initial Title
How to retrieve facebook user’s friendlist
Initial Tags
list, api, facebook
Initial Language
PHP