JTwitter - the Java library for the Twitter API
JTwitter - the Java library for the Twitter API
JTwitter is a small library providing easy access to the Twitter API. Set and get your status, manage your network of friends, message friends, etc.
The library - version 1.2 - can be downloaded here: [jtwitter.jar]
We have just released a major update to JTwitter adding extra services such as search and fixing several issues. If you are using an older version, please download the new version.
The source code is included inside the jar file. It is also available online here: [Twitter.java]
JTwitter is very easy to use. Example usage:
// Make a Twitter object
Twitter twitter = new Twitter("my-name","my-password");
// Print Daniel Winterstein's status
System.out.println(twitter.getStatus("winterstein"));
// Set my status
twitter.updateStatus("Messing about in Java");
You'll find the code is fully documented, and mostly self-explanatory. The javadoc is also available online here: [javadoc], with the change-log (including credits to contributors) here: change log.
Feedback
Please report any bugs to .Copyright and License
Developed by Daniel Winterstein, partially whilst at a previous company.
This code is copyright (c) Winterwell Associates Ltd, 2008 and ThinkTank Mathematics Ltd, 2007, except where
otherwise stated. It is released as
open-source under the LGPL license.
This code comes with no warranty or support.
