code: def get_oauth_url(self):
          
          params = OrderedDict()
  
          if "?" in self.url:
              url = self.url[:self.url.find("?")]
              for key, value in parse_qsl(urlparse(self.url).query):
                  params[key] = value
          else:
              url = self.url
  
          params["oauth_consumer_key"] = self.consumer_key
          params["oauth_timestamp"] = self.timestamp
          params["oauth_nonce"] = self.generate_nonce()
          params["oauth_signature_method"] = "HMAC-SHA256"
          params["oauth_signature"] = self.generate_oauth_signature(params, url)
  
          query_string = urlencode(params)
  
          return "%s?%s" % (url, query_string)
docs: Returns the URL with OAuth params