#Twitter4J is a 100% pure Java library for the Twitter API licensed under Apache License 2.0.
Twitter4J is featuring:
✓ Zero dependency : No additional jars required
✓ Built-in OAuth support
✓ Out-of-the-box gzip support
✓ 100% Twitter API 1.1 compatible
System Requirements
JDK: Java 8 or later
Declaring Dependency to Twitter4J
Maven
<dependencies> <dependency> <groupId>org.twitter4j</groupId> <artifactId>twitter4j-core</artifactId> <version>4.1.1</version> </dependency> </dependencies>
Gradle
dependencies {
compile 'org.twitter4j:twitter4j-core:4.1.1'
}
Java modularity
requires org.twitter4j;
Google groups
Subscribe to Twitter4J Google Groups