A Ruby interface to the X API.

Joined November 2010
6 Photos and videos
Pinned Tweet
13 Mar 2024
Follow @sferik for more information about @gem
8
9
14
8,518
2 Apr 2025
Be sure to update to the latest gem version (0.15.2) to ensure media upload will work after April 30.
24 Mar 2025
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
4,270
2 Nov 2023
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
3
4,327
24 Oct 2023
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,845
The X Ruby Gem retweeted
23 Oct 2023
16 Oct 2023
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?
1
2
3
4,061
20 Sep 2023
As of today, the Twitter gem is no longer maintained. Please use the X gem instead. sferik.github.io/x-ruby/
1
4
2,495
31 Aug 2023
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/
2
2
1,963
The X Ruby Gem retweeted
1/ Today we’re sharing our vision for the future of the Twitter API platform! cards.twitter.com/cards/18ce…

43
234
464
The X Ruby Gem retweeted
4 Nov 2015
It looks like Twitter won’t be renaming their API resources from “favorites” to “likes”: dev.twitter.com/rest/referen….
4
8
12
9 Sep 2015
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
1
9 Sep 2015
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…

1
14 Feb 2015
Just passed 2 million downloads on RubyGems.org! Thanks for installing!

3
6
14 Feb 2015
Released version 5.14.0, which properly handles videos and animated GIFs. Details at: github.com/sferik/twitter/bl…

13 Nov 2014
This tweet should be threaded to the previous one. If so, it closes github.com/sferik/twitter/is….

4
13 Nov 2014
Testing threaded replies. /cc @fields
1