A Ruby interface to the X API.

Joined November 2010
Follow @sferik for more information about @gem
7
9
3
14
9,743
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…
1
1
5,730
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…
2
1
2
4,457
Version 0.11.0 released! This is the best version of the X gem yet. Full changelog here: github.com/sferik/x-ruby/blo…
1
2
5
3,948
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 results
1
2
3
4,130
As of today, the Twitter gem is no longer maintained. Please use the X gem instead. sferik.github.io/x-ruby/
1
1
4
2,577
The X Ruby Gem retweeted
1/ Today we’re sharing our vision for the future of the Twitter API platform! xitter.cf/cards/18ce…
42
229
65
462
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….
4
8
12
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.
1
2
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!
3
6
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….
4