code: private function uploadMediaNotChunked($path, array $parameters)
      {
          if (! is_readable($parameters['media']) ||
              ($file = file_get_contents($parameters['media'])) === false) {
              throw new \InvalidArgumentException('You must supply a readable file');
          }
          $parameters['media'] = base64_encode($file);
          return $this->http('POST', self::UPLOAD_HOST, $path, $parameters, false);
      }
docs: Private method to upload media (not chunked) to upload.twitter.com.
  
  @param string $path
  @param array  $parameters
  
  @return array|object