Twitter4J/Twitter4J
Twitter4J is an open-source Java library for the Twitter API. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6340
- days_rel: n/a
- days_push: 746
- n_releases_24m: 0
Adoption not part of the score
2809 stars · 1185 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Twitter4J (now X4J) is a 100% pure Java library for the Twitter/X API with zero external dependencies and built-in OAuth support. It provides full Twitter API v1.1 coverage via a clean interface-based API usable from Java 8+.
Use cases
- post tweets from a java application
- read a user's twitter timeline in java
- search tweets programmatically with java
- authenticate with the twitter api using oauth in java
- build a twitter bot in java
- send direct messages via the twitter api
When to choose
- you need a mature, dependency-free Java client for the Twitter/X v1.1 API
- you want built-in OAuth handling without extra jars
- you're on Java 8+ and want Maven/Gradle integration with Java module support
When to avoid
- you need newer Twitter API v2 features that the library may not cover
- you're not working on the JVM
- you need a client for a different social platform
Facets
library · maturity maintenance
http-client auth sdk apis social-media developer-tools jvm cross-platform twitter-api x-api oauth zero-dependency social-media-api
2 sources
- readme: https://github.com/Twitter4J/Twitter4J · fetched 2026-08-28 · 3fa6cf31ce09
- homepage: http://twitter4j.org/ · fetched 2026-08-29 · f74c7f5daed0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Twitter4J/Twitter4J | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="Twitter4J/Twitter4J")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem