The X Ruby Gem
@gem
Followers
5K
Following
344
Media
6
Statuses
138
A Ruby interface to the X API.
Joined November 2010
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 👇 https://t.co/E2z8AeZnhm
1
0
0
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
Some endpoints have different kind of limits as DMs and Likes. I found no official list of headers, but I saw x-user-limit-24hour-limit and x-app-limit-24hour-limit. For example, when the 15 minute...
19
26
34
Thanks to @IFTTT for sponsoring the X Ruby gem!
sferik.github.io
A Ruby interface to the X API.
3
2
4
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"). https://t.co/QksZGwBN58
2
1
2
Version 0.11.0 released! This is the best version of the X gem yet. Full changelog here:
1
2
5
Boom!
github.com
Names based on the results of this poll: https://x.com/sferik/status/1713974205765828843
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
As of today, the Twitter gem is no longer maintained. Please use the X gem instead.
sferik.github.io
A Ruby interface to the X API.
1
1
4
Would it also be possible to add a Crystal section for this library I just published?
github.com
A Crystal interface to the X API. Contribute to sferik/x-crystal development by creating an account on GitHub.
0
0
3
1/ Today we’re sharing our vision for the future of the Twitter API platform! https://t.co/XweGngmxlP
44
241
472
It looks like Twitter won’t be renaming their API resources from “favorites” to “likes”: https://t.co/m2LXXT3W0P.
4
9
12
Need a gem to access the Twitter Ads API? Be sure to check out https://t.co/M3b4sJ9jMI and follow @AdsAPI for updates.
github.com
A Twitter supported and maintained Ads API SDK for Ruby. - xdevplatform/twitter-ruby-ads-sdk
0
3
10
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.
0
1
1
Released version 5.15.0, which adds methods to access quoted tweets and new mime_types for multi-part uploads.
0
1
0
Just passed 2 million downloads on http://t.co/sz5uWe0cI1! Thanks for installing!
0
3
6
Released version 5.14.0, which properly handles videos and animated GIFs. Details at:
0
0
0
This tweet should be threaded to the previous one. If so, it closes https://t.co/HA7uNG0yk8.
0
0
4