| Package | Description |
|---|---|
| winterwell.jtwitter |
| Modifier and Type | Class and Description |
|---|---|
static class |
TwitterException.E401
An unauthorised exception.
|
static class |
TwitterException.E403
A Forbidden exception.
|
static class |
TwitterException.E404
Indicates a 404: resource does not exist error from Twitter.
|
static class |
TwitterException.E50X
A code 50X error (e.g.
|
static class |
TwitterException.RateLimit
Indicates a rate limit error (i.e.
|
static class |
TwitterException.Timeout
A timeout exception - probably caused by Twitter being overloaded.
|
static class |
TwitterException.Unexplained
Something has gone wrong.
|
| Modifier and Type | Method and Description |
|---|---|
Twitter.User |
Twitter.befriend(java.lang.String username)
Deprecated.
Use
Twitter.follow(String) instead, which is equivalent. |
void |
Twitter.destroyStatus(long id)
Destroys the status specified by the required ID parameter.
|
void |
Twitter.destroyStatus(Twitter.Status status)
Destroys the given status.
|
Twitter.User |
Twitter.follow(java.lang.String username)
Start following a user.
|
java.util.List<Twitter.User> |
Twitter.getFeatured()
Returns a list of the users currently featured on the site with their current statuses inline.
|
java.util.List<java.lang.Long> |
Twitter.getFollowerIDs()
Returns the IDs of the authenticating user's followers.
|
java.util.List<java.lang.Long> |
Twitter.getFollowerIDs(java.lang.String screenName)
Returns the IDs of the specified user's followers.
|
java.util.List<Twitter.User> |
Twitter.getFollowers()
Returns the authenticating user's (latest) followers, each with current status inline.
|
java.util.List<Twitter.User> |
Twitter.getFollowers(java.lang.String username)
Returns the (latest 100) given user's followers, each with current status inline.
|
java.util.List<java.lang.Long> |
Twitter.getFriendIDs()
Returns the IDs of the authenticating user's friends.
|
java.util.List<java.lang.Long> |
Twitter.getFriendIDs(java.lang.String screenName)
Returns the IDs of the specified user's friends.
|
java.util.List<Twitter.User> |
Twitter.getFriends()
Returns the authenticating user's (latest 100) friends, each with current status inline.
|
java.util.List<Twitter.User> |
Twitter.getFriends(java.lang.String username)
Returns the (latest 100) given user's friends, each with current status inline.
|
java.util.List<Twitter.Status> |
Twitter.getFriendsTimeline()
Returns the 20 most recent statuses posted in the last 24 hours from the authenticating user and that user's friends.
|
java.util.List<Twitter.Status> |
Twitter.getHomeTimeline()
Returns the 20 most recent statuses posted in the last 24 hours from the authenticating user and that user's friends,
including retweets.
|
java.lang.String |
Twitter.IHttpClient.getPage(java.lang.String uri,
java.util.Map<java.lang.String,java.lang.String> vars,
boolean authenticate)
Send an HTTP GET request and return the response body.
|
java.lang.String |
URLConnectionHttpClient.getPage(java.lang.String uri,
java.util.Map<java.lang.String,java.lang.String> vars,
boolean authenticate) |
java.util.List<Twitter.Status> |
Twitter.getPublicTimeline()
Returns the 20 most recent statuses from non-protected users who have set a custom user icon.
|
java.util.List<Twitter.Status> |
Twitter.getReplies()
Returns the 20 most recent replies/mentions (status updates with
|
Twitter.Status |
Twitter.getStatus() |
Twitter.Status |
Twitter.getStatus(long id)
Returns a single status, specified by the id parameter below.
|
Twitter.Status |
Twitter.getStatus(java.lang.String username) |
java.util.List<Twitter.Status> |
Twitter.getUserTimeline()
Returns the 20 most recent statuses posted in the last 24 hours from the authenticating user.
|
java.util.List<Twitter.Status> |
Twitter.getUserTimeline(java.lang.String screenName)
Returns the most recent statuses posted in the last 24 hours from the given user.
|
java.lang.String |
Twitter.IHttpClient.post(java.lang.String uri,
java.util.Map<java.lang.String,java.lang.String> vars,
boolean authenticate)
Send an HTTP POST request and return the response body.
|
java.lang.String |
URLConnectionHttpClient.post(java.lang.String uri,
java.util.Map<java.lang.String,java.lang.String> vars,
boolean authenticate) |
Twitter.Message |
Twitter.sendMessage(java.lang.String recipient,
java.lang.String text)
Sends a new direct message to the specified user from the authenticating user.
|
Twitter.Status |
Twitter.setStatus(java.lang.String statusText)
Sets the authenticating user's status.
|
Twitter.User |
Twitter.show(java.lang.String screenName)
Returns information of a given user, specified by screen name.
|
Twitter.Status |
Twitter.updateStatus(java.lang.String statusText,
long inReplyToStatusId)
Updates the authenticating user's status and marks it as a reply to the tweet with the given ID.
|
Copyright © 2014 gvSIG Association. All Rights Reserved.