private function _get_followers($uid) { //$weiboclient = ZombieKiller_WeiboClientFactory::create(); $weibocilent = new SaeTClient(WB_AKEY, WB_SKEY, $_SESSION['last_key']['oauth_token'], $_SESSION['last_key']['oauth_token_secret']); $users = array(); $result = $weibocilent->followers(-1, $uid); $users = array_merge($users, $result['users']); while ($next_cursor = $result['next_cursor']) { break; $result = $weibocilent->followers($next_cursor, $uid); $users = array_merge($users, $result['users']); } return $users; }