How to use the twitterapi.oauthtwitter.OAuthApi function in TwitterAPI

To help you get started, we’ve selected a few TwitterAPI examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CollabQ / CollabQ / common / twitter.py View on Github external
def get_request_token():
  twitter = oauthtwitter.OAuthApi(settings.TWITTER_CONSUMER_KEY, settings.TWITTER_CONSUMER_SECRET)
  logging.info("Request Token")

  request_token = twitter.getRequestToken()

  return twitter, request_token