x 1.0.0: one letter, one major version.
A Ruby interface to the X API with objects, streaming, media uploads, and types.
gem install x
github.com/sferik/x-ruby/rel…
Be sure to update to the latest gem version (0.15.2) to ensure media upload will work after April 30.
In Jan 2025, we launched new X API v2 media upload endpoints.
Based on feedback from the developer community, we're working on additional improvements, and will be extending the migration timeline to Apr 30, 2025.
Check out the post below for details 👇
devcommunity.x.com/t/extende…
Version 0.13.0 has been released with a new X::RateLimit object that is returned when an X::TooManyRequests error occurs. Many thanks to @GuirecCorbel for the patch! github.com/sferik/x-ruby/pul…
Thanks to @IFTTT for sponsoring the X Ruby gem! sferik.github.io/x-ruby/#spo…
Version 0.12.0 released! Now all API errors (e.g. X::NotFound) subclass X::HTTPError and have a #code attribute that returns the HTTP status code (e.g. "404").
github.com/sferik/x-ruby/blo…
Version 0.11.0 released! This is the best version of the X gem yet. Full changelog here: github.com/sferik/x-ruby/blo…
The X Ruby Gem retweeted
Programming naming poll: Say you have a ResponseHandler class that has one main method that takes an HTTP response object and parses the body into an object. Don’t get hung up on details of this example—I’m asking about your general approach. What would you name that method?
30%handle_response(response)
52%handle(response)
12%process/run/execute/main
6%Other (please reply)
33 votes • Final resultsAs of today, the Twitter gem is no longer maintained. Please use the X gem instead. sferik.github.io/x-ruby/
Replying to @XDevelopers
@XDevelopers @API @AdsAPI Could I get a link added to the Ruby section of “Community tools and libraries for v2” page (developer.twitter.com/en/doc…)? This library is a completely rewrite of the Twitter Ruby gem, which fully supports API v2 and the Ads API.
sferik.github.io/x-ruby/
Would it also be possible to add a Crystal section for this library I just published? github.com/sferik/x-crystal
The X Ruby Gem retweeted
1/ Today we’re sharing our vision for the future of the Twitter API platform!
xitter.cf/cards/18ce…
The X Ruby Gem retweeted
It looks like Twitter won’t be renaming their API resources from “favorites” to “likes”: dev.twitter.com/rest/referen….
Need a gem to access the Twitter Ads API? Be sure to check out github.com/twitterdev/twitte… and follow @AdsAPI for updates.
Version 5.15.0 will be the last release in the 5.x series. The next planned release will be version 6, which will drop Ruby 1.8.7 support.
Released version 5.15.0, which adds methods to access quoted tweets and new mime_types for multi-part uploads. github.com/sferik/twitter/bl…
Just passed 2 million downloads on RubyGems.org! Thanks for installing!
Released version 5.14.0, which properly handles videos and animated GIFs. Details at: github.com/sferik/twitter/bl…
This tweet should be threaded to the previous one. If so, it closes github.com/sferik/twitter/is….





