def __get_oauth_url(self, url, method): """ Generate oAuth1.0a URL """ oauth = OAuth(url=url, consumer_key=self.consumer_key, consumer_secret=self.consumer_secret, version=self.version, method=method) return oauth.get_oauth_url()