Fernando Herrera


20 Experience
0 Lessons Completed
0 Questions Solved


Posted in Rails for Beginners Part 33: Twitter API Discussion

Hello, I am getting this issue when I try to publish the tweet running this command: Tweet.last.publish_to_twitter!

[["id", 12], ["LIMIT", 1]]
/home/fherrerao/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/twitter-7.0.0/lib/twitter/rest/request.rb:97:in `fail_or_return_response_body': Your credentials do not allow access to this resource. (Twitter::Error::Forbidden)

I have read/write/Direct messages permissions.

If someone can help me I will be grateful.

Thank you it was really useful and it works for me.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.