Closed MarioVilas closed 2 years ago
Similar issue but status code = 400
Check your key and secret key. The README was a little bit confusing. I ended up with 401 too when I tried it first.
Basically, use API token and API secret key instead of the Access token and secret key.
I have tried the API token and API secret key and I keep getting that 401 error :'(
@nikos3194
I added access_token
and access_token_secret
to tweepy library and it work.
https://github.com/kittinan/twitter_media_downloader/commit/28ee8abfaa95da7e78f69f239d8b8568d05e0a0b
Indeed, It would seem that a proper access token is required to access protected accounts. Thanks @kittinan. I just pushed a fix for that, sorry for the delay 👍
An invalid key can also cause this issue on public accounts, so I renamed the "consumer token" to "consumer key" to prevent confusion (also because that's the official name now).