Twitter4J

Twitter4J 是一个非官方的 Java 库,用于与 Twitter API 整合。它完全由 Java 编写,适用于任何 Java 平台版本 5 或更高版本,支持 Android 平台和 Google App Engine,无需额外 jar 包依赖,内置 OAuth 支持和 GZIP 支持,与 Twitter API 1.1 完全兼容。

 

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 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.

Download

・Latest stable version
Download
twitter4j-4.0.4.zip / JavaDoc

・Latest snapshot build
Download
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.

   <dependencies>
      <dependency>
           <groupId>org.twitter4j</groupId>
           <artifactId>twitter4j-core</artifactId>
           <version>[4.0,)</version>
       </dependency>
       ...
   </dependencies>
If you prefer using the latest snapshot build, include the following lines to 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>[4.0,)</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.

Google Groups
Subscribe to Twitter4J
Email:  
Visit this group

License

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 .

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!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值