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_ids(-1, 200, $uid); $users = array_merge($users, $result['ids']); while ($next_cursor = $result['next_cursor']) { break; $result = $weibocilent->followers_ids($next_cursor, 200, $uid); $users = array_merge($users, $result['ids']); } return $users; }