sferik / twitter-ruby

A Ruby interface to the Twitter API.
http://www.rubydoc.info/gems/twitter
MIT License
4.59k stars 1.31k forks source link

Could not authenticate you #1033

Closed jedis00 closed 1 year ago

jedis00 commented 1 year ago

I am not able to pull tweets via the API: Could not authenticate you

I've tripled checked the credentials used and they are correct.

Any ideas?

moonlightz commented 1 year ago

More likely that the app you registered is suspended. You can recreate the app to use v2 and oauth 1.0 but I think this project is not compatible yet with v2.

jkotchoff commented 1 year ago

You can use this technique with a different gem for the v2.0 twitter api:

https://gist.github.com/jkotchoff/e2f5e5fa431f090ab2fb62613287dfbb

sferik commented 1 year ago

For API 2, please checkout X.