You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excuse me, every time I try to run twphotos, I get the following message:
Retrieving photos from Twitter API...
Traceback (most recent call last):
File "/Users/apple/anaconda3/envs/MuseumBot/bin/twphotos", line 10, in
sys.exit(main())
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twphotos/photos.py", line 291, in main
twphotos.get()
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twphotos/photos.py", line 71, in get
self.auth_user = self.verify_credentials().screen_name
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twphotos/photos.py", line 162, in verify_credentials
return self.api.VerifyCredentials()
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twitter/api.py", line 4700, in VerifyCredentials
data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twitter/api.py", line 4908, in _ParseAndCheckTwitter
self._CheckForTwitterError(data)
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twitter/api.py", line 4928, in _CheckForTwitterError
raise TwitterError(data['errors'])
twitter.error.TwitterError: [{'code': 32, 'message': 'Could not authenticate you.'}]
But I'm sure my api key is correct because I have tried other codes and it works.
Could you please tell me how can I solve the problem?
Thx
The text was updated successfully, but these errors were encountered:
Excuse me, every time I try to run twphotos, I get the following message:
Retrieving photos from Twitter API...
Traceback (most recent call last):
File "/Users/apple/anaconda3/envs/MuseumBot/bin/twphotos", line 10, in
sys.exit(main())
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twphotos/photos.py", line 291, in main
twphotos.get()
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twphotos/photos.py", line 71, in get
self.auth_user = self.verify_credentials().screen_name
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twphotos/photos.py", line 162, in verify_credentials
return self.api.VerifyCredentials()
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twitter/api.py", line 4700, in VerifyCredentials
data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twitter/api.py", line 4908, in _ParseAndCheckTwitter
self._CheckForTwitterError(data)
File "/Users/apple/anaconda3/envs/MuseumBot/lib/python3.6/site-packages/twitter/api.py", line 4928, in _CheckForTwitterError
raise TwitterError(data['errors'])
twitter.error.TwitterError: [{'code': 32, 'message': 'Could not authenticate you.'}]
But I'm sure my api key is correct because I have tried other codes and it works.
Could you please tell me how can I solve the problem?
Thx
The text was updated successfully, but these errors were encountered: