# sferik/twitter-ruby

A Ruby interface to the Twitter API.

Repository: https://github.com/sferik/twitter-ruby
Canonical: https://ross.abutalabs.com/products/twitter-ruby
Homepage: http://www.rubydoc.info/gems/twitter
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-12T19:43:19+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 6776, "days_push": 21, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4576, forks 1273 (observed 2026-08-28T04:08:53.680188+00:00)

## What it is
A Ruby gem providing an interface to the X (Twitter) API v1.1, supporting actions like tweeting, following users, and reading timelines via OAuth-authenticated REST clients. The README recommends the newer X gem for new projects or API v2 support.

## Use cases
- post tweets from a ruby app
- read a user's twitter timeline
- follow users programmatically on twitter
- integrate twitter api v1.1 into a ruby project
- build a twitter bot in ruby

## When to choose
- you maintain a legacy Ruby app already using the twitter gem
- you specifically need Twitter API v1.1 endpoints from Ruby

## When to avoid
- you need Twitter/X API v2 support
- you are starting a new project (use the X gem instead)

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, sdk
- domain: apis, social-media, developer-tools
- platform: ruby
- tags: twitter-api, x-api, oauth, rest-client, social-media-api

## Member repositories
- sferik/twitter-ruby (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:53.680188+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:55.888195+00:00, confidence not recorded.
  - readme: https://github.com/sferik/twitter-ruby (fetched 2026-08-28T04:08:53.680188+00:00, sha 7f6bd3c18e56)
  - homepage: http://www.rubydoc.info/gems/twitter (fetched 2026-08-29T09:05:20.884823+00:00, sha f26cfea72ff6)
  - site_page: https://rubydoc.info/gems/twitter (fetched 2026-08-29T09:05:20.894004+00:00, sha fdaea80b3bae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
