Introduction
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 1.4.2 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
System Requirements
OS: Windows or any flavor of Unix that supports Java.
JVM: Java 1.4.2 or later
How To Use
Just add twitter4j-core-2.2.5.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.
Download
・Latest stable version
twitter4j-2.2.5.zip (JavaDoc / Migration guide from 2.1.x to 2.2.x)
twitter4j-android-2.2.5.zip(slimmed version for Android platform)
・Latest snapshot build
twitter4j-2.2.6-SNAPSHOT.zip (JavaDoc)
twitter4j-android-2.2.6-SNAPSHOT.zip(slimmed version for Android platform)
Source Code
The archive contains jar file along with source code.
You can also browse the project repository at:
github: github.com/yusuke/twitter4j/Or you can check out the latest source code anonymously as follows:
git clone git://github.com/yusuke/twitter4j.git
Maven Integration
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>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>[2.2,)</version> </dependency> </dependencies>If you prefer the Maven central repository, include the following lines to your pom.xml.
<dependencies>
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>[2.2,)</version>
</dependency>
...
</dependencies>
Mailing list
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 |
Email: |
Visit this group |
License
Twitter4J is released under Apache License 2.0.
Copyright (C) 2007 Yusuke Yamamoto Copyright (C) 2011 Twitter, Inc. 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 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.
Donation
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!