code: protected function parseToken($result)
      {
          parse_str($result, $data);
          $data = array_merge($data, ['openid' => $_GET['openid'], 'openkey' => $_GET['openkey']]);
          if ($data['access_token'] && $data['expires_in'] && $data['openid']) {
              return $data;
          } else {
              throw new \Exception("获取腾讯微博 ACCESS_TOKEN 出错：{$result}");
          }
  
      }
docs: 解析access_token方法请求后的返回值
  @param string $result 获取access_token的方法的返回值