twitterbot icon indicating copy to clipboard operation
twitterbot copied to clipboard

Unable to get username, invalid oauth token!

Open mountin opened this issue 8 years ago • 0 comments

Hello, Your product is very interestings, but i cant run it unfortunately.. I installed like in instruction and put working credentials... in config file

Could you help me with these errors?

root@precise32:/var/www/html/twitter-manage.loc/python/bots/twitterbot/examples/echobot# python echobot.py Traceback (most recent call last): File "echobot.py", line 127, in bot = EchoBot() File "/usr/local/lib/python2.7/dist-packages/twitterbot/bot.py", line 67, in init self.id = self.api.me().id File "/usr/lib/python2.7/dist-packages/tweepy/api.py", line 175, in me return self.get_user(screen_name=self.auth.get_username()) File "/usr/lib/python2.7/dist-packages/tweepy/auth.py", line 161, in get_username raise TweepError("Unable to get username, invalid oauth token!") tweepy.error.TweepError: Unable to get username, invalid oauth token! root@precise32:/var/www/html/twitter-manage.loc/python/bots/twitterbot/examples/echobot#

mountin avatar Jul 05 '17 14:07 mountin