English | Japanese | Korean



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

System Requirements

OS: Windows or any flavor of Unix that supports Java.
JVM: Java 5 or later

How To Use

Just add twitter4j-core-4.0.4.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-4.0.4.zip / JavaDoc

・Latest snapshot build
twitter4j-4.0.5-SNAPSHOT.zip / JavaDoc

Source Code

The archive contains jar file along with source code.
You can also browse the project repository at:

github: http://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.

If you prefer using the latest snapshot build, include the following lines to your pom.xml.
         <name>twitter4j.org Repository</name>

Mailing list

Any question, comment, bug report, feature request or patch is highly welcomed.
Feel free to post your comments to the mailing list.
Google Groups
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


Unless required by applicable law or agreed to in writing, software
Distributed under the License is distributed on an "AS IS" BASIS,
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!