code: protected function buildUrl($url, $params = [])
      {
          if ($this->useOauth) {
              $params['access_token'] = $this->getAccessToken();
          }
          $params = http_build_query($params);
          return $this->baseUrl . $url . '?' . $params;
      }
docs: Builds request URL
  @author Adegoke Obasa <goke@cottacush.com>
  @param $url
  @param array $params
  @return string
  @throws HttpClientException