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
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! https://t.co/n2t9KFTqsk
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
@uagtw Try adding:
require "x/media_upload"
to the top of the file where you’re attempting to use it. Also, make sure you’re using version 0.10.0. Please let me know if that doesn’t fix it.
@XDevelopers@API@AdsAPI Could I get a link added to the Ruby section of “Community tools and libraries for v2” page (https://t.co/D6DdLzTPmn)? This library is a completely rewrite of the Twitter Ruby gem, which fully supports API v2 and the Ads API.
https://t.co/RJoTaIyxFr
@XDevelopers@API Is Bearer Token authentication still supported? I’m trying to figure out whether to add support for it in my X client library. https://t.co/JHSZ8zyyvs