function info_callback($response) { if (!empty($response)) { $info = CG_Parse_Html::parse_user_info($response); if (!empty($info)) { CG_User_Info::save_user_info($info); } } }
function followers_callback($response) { if (!empty($response)) { $info = CG_Parse_Html::parse_username($response, 'followers'); if (!empty($info)) { save_to_redis($info); } } }