|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
| Interface Summary | |
|---|---|
| Twitter.ICallback | Use to register per-page callbacks for long-running searches. |
| Twitter.IHttpClient | Interface for an http client - e.g. allows for OAuth to be used instead. |
| Twitter.ITweet | This gives common access to features that are common to both Twitter.Messages and Twitter.Statuses. |
| Class Summary | |
|---|---|
Java wrapper for the Twitter API version 1.4.3
Example usage:
// Make 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 http://www.winterwell.com/software/jtwitter.php for more information about this wrapper. |
|
| Twitter.Message | A Twitter direct message. |
| Twitter.Status | A Twitter status post. .toString() returns the status text. |
| Twitter.User | A Twitter user. |
| URLConnectionHttpClient | A simple http client that uses the built in URLConnection class. |
| Exception Summary | |
|---|---|
| TwitterException | A runtime exception for when Twitter requests don't work. |
| TwitterException.E401 | An unauthorised exception. |
| TwitterException.E403 | A Forbidden exception. |
| TwitterException.E404 | Indicates a 404: resource does not exist error from Twitter. |
| TwitterException.E50X | A code 50X error (e.g. 502) - indicating something went wrong at Twitter's end. |
| TwitterException.RateLimit | Indicates a rate limit error (i.e. you've over-used Twitter) |
| TwitterException.Timeout | A timeout exception - probably caused by Twitter being overloaded. |
| TwitterException.Unexplained | Something has gone wrong. |
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||