a Twitter object Twitter twitter = new Twitter("my-name","my-password"); // Print Winterstein's status System.out.println(twitter.getStatus("winterstein")); // Set my status twitter.updateStatus("Messing about in Java");
See {@link http://www.winterwell.com/software/jtwitter.php} for moreinformation about this wrapper. See {@link http://apiwiki.twitter.com/Twitter-API-Documentation} for moreinformation about the Twitter API.
Notes:
- This wrapper takes care of all url-encoding/decoding.
- This wrapper will throw a runtime exception (TwitterException) if a methods fails, e.g. it cannot connect to Twitter.com or you make a bad request. I would like to improve error-handling, and welcome suggestions on cases where more informative exceptions would be helpful.
Copyright and License
This code is copyright (c) Winterwell Associates 2008/2009 and (c) ThinkTank Mathematics Ltd, 2007 except where otherwise stated. It is released as open-source under the LGPL license. See
http://www.gnu.org/licenses/lgpl.html for license details. This code comes with no warranty or support.
Change List
The change list is kept online at: {@link http://www.winterwell.com/software/changelist.txt}
@author Daniel Winterstein