Twitter4J is an unofficial Java library for the Twitter API.
With Twitter4J, you can easily integrate your Java application with the Twitter service. Twitter4J is an unofficial library.
Twitter4J is featuring:
✔ 100% Pure Java - works on any Java Platform version 5 or later
✔ Android platform and Google App Engine ready
✔ Zero dependency : No additional jars required
✔ Built-in OAuth support
✔ Out-of-the-box gzip support
✔ 100% Twitter API 1.1 compatible
OS: Windows or any flavor of Unix that supports Java.
JVM: Java 5 or later
Just add twitter4j-core-3.0.3.jar to your application classpath.
If you are familiar with Java language, looking into the JavaDoc should be the shortest way for you to get started.
twitter4j.Twitter interface is the one you may want to look at first.
･Latest stable version
twitter4j-3.0.3.zip (JavaDoc / Migration guide from 2.1.x to 2.2.x)
twitter4j-android-3.0.3.zip(Regular version got slimmed down from version 3.0.3. Thus build for Android platform was retired. Use regular version instead.)
･Latest snapshot build
twitter4j-android-3.0.4-SNAPSHOT.zip(Regular version got slimmed down from version 3.0.3. Thus build for Android platform was retired. Use regular version instead.)
The archive contains jar file along with source code.
You can also browse the project repository at:
git clone git://github.com/yusuke/twitter4j.git
You can integrate the latest Twitter4J build easily by just including the following lines in your pom.xml.
<repositories> <repository> <id>twitter4j.org</id> <name>twitter4j.org Repository</name> <url>http://twitter4j.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <dependencies> <dependency> <groupId>org.twitter4j</groupId> <artifactId>twitter4j-core</artifactId> <version>[3.0,)</version> </dependency> </dependencies>If you prefer the Maven central repository, include the following lines to your pom.xml.
Any question, comment, bug report, feature request or patch is highly welcomed.
Feel free to post your comments to the mailing list.
|Subscribe to Twitter4J|
|Visit this group|
Twitter4J is released under Apache License 2.0.
Copyright 2007 Yusuke Yamamoto Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software Distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.Twitter4J includes software from JSON.org to parse JSON response from the Twitter API. You can see the license term at The JSON License.
Twitter4J is an opensourced software and free of charge.
You can use Twitter4J freely for any commercial and non-commercial projects.
If you feel Twitter4J makes your life easier, please do consider making a donation!