示例#1
0
 function get_friends($appkey, $appsecret, $session_key, $page = 1, $count = 500)
 {
     $rrObj = new RenRenClient();
     $rrObj->init($appkey, $appsecret);
     $rrObj->setSessionKey($session_key);
     $result = $rrObj->POST('friends.getFriends', array($page, $count));
     return $result;
 }