1

Error in this statement that auth is not defined after i already defined it. You can check the code.

import tweepy

consumer_key = 'xxx'
consumer_secret = 'xxx'
callback_url = 'ooo'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret, callback_url)
redirect_url = auth.get_Authorization_url()
print(auth)

Note: this code work fine in Pycharm environment but it doesn't work on jupyter notebook giving me error variable auth is not defined

martineau
  • 119,623
  • 25
  • 170
  • 301
Juice
  • 11
  • 2

0 Answers0