|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TwitterException | |
|---|---|
| twitter4j | |
| twitter4j.examples | |
| twitter4j.http | |
| Uses of TwitterException in twitter4j |
|---|
| Methods in twitter4j with parameters of type TwitterException | |
|---|---|
void |
TwitterListener.onException(TwitterException te,
int method)
|
void |
TwitterAdapter.onException(TwitterException ex,
int method)
|
| Methods in twitter4j that throw TwitterException | |
|---|---|
void |
TwitterStream.birddog(int count,
int[] follow)
Deprecated. use filter() instead |
User |
Twitter.block(java.lang.String id)
Deprecated. Use createBlock(String id) instead |
static java.util.List<User> |
User.constructUsers(Response res,
Twitter twitter)
|
User |
Twitter.create(java.lang.String id)
Deprecated. Use createFriendship(String id) instead |
User |
Twitter.createBlock(java.lang.String id)
Blocks the user specified in the ID parameter as the authenticating user. |
Status |
Twitter.createFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user. |
User |
Twitter.createFriendship(java.lang.String id)
Befriends the user specified in the ID parameter as the authenticating user. |
User |
Twitter.createFriendship(java.lang.String id,
boolean follow)
Befriends the user specified in the ID parameter as the authenticating user. |
SavedSearch |
Twitter.createSavedSearch(java.lang.String query)
Retrieve the data for a saved search owned by the authenticating user specified by the given id. |
DirectMessage |
Twitter.deleteDirectMessage(int id)
Deprecated. Use destroyDirectMessage(int id) instead |
User |
Twitter.destroy(java.lang.String id)
Deprecated. Use destroyFriendship(String id) instead |
User |
Twitter.destroyBlock(java.lang.String id)
Un-blocks the user specified in the ID parameter as the authenticating user. |
DirectMessage |
Twitter.destroyDirectMessage(int id)
Destroys the direct message specified in the required ID parameter. |
Status |
Twitter.destroyFavorite(long id)
Un-favorites the status specified in the ID parameter as the authenticating user. |
User |
Twitter.destroyFriendship(java.lang.String id)
Discontinues friendship with the user specified in the ID parameter as the authenticating user. |
SavedSearch |
Twitter.destroySavedSearch(int id)
Destroys a saved search for the authenticated user. |
Status |
Twitter.destroyStatus(long statusId)
Destroys the status specified by the required ID parameter. |
User |
Twitter.disableNotification(java.lang.String id)
Disables notifications for updates from the specified user to the authenticating user. |
User |
Twitter.enableNotification(java.lang.String id)
Enables notifications for updates from the specified user to the authenticating user. |
protected static void |
TwitterResponse.ensureRootNodeNameIs(java.lang.String[] rootNames,
org.w3c.dom.Element elem)
|
protected static void |
TwitterResponse.ensureRootNodeNameIs(java.lang.String rootName,
org.w3c.dom.Document doc)
|
protected static void |
TwitterResponse.ensureRootNodeNameIs(java.lang.String rootName,
org.w3c.dom.Element elem)
|
boolean |
Twitter.exists(java.lang.String userA,
java.lang.String userB)
Deprecated. Use friendshipExists(String userA, String userB) |
boolean |
Twitter.existsBlock(java.lang.String id)
Tests if a friendship exists between two users. |
boolean |
Twitter.existsFriendship(java.lang.String userA,
java.lang.String userB)
Tests if a friendship exists between two users. |
java.util.List<Status> |
Twitter.favorites()
Deprecated. Use getFavorited() instead |
java.util.List<Status> |
Twitter.favorites(int page)
Deprecated. Use getFavorites(int page) instead |
java.util.List<Status> |
Twitter.favorites(java.lang.String id)
Deprecated. Use getFavorites(String id) instead |
java.util.List<Status> |
Twitter.favorites(java.lang.String id,
int page)
Deprecated. Use getFavorites(String id, int page) instead |
void |
TwitterStream.filter(int count,
int[] follow,
java.lang.String[] track)
See birddog above. |
void |
TwitterStream.firehose(int count)
Starts listening on all public statuses. |
void |
TwitterStream.follow(int[] follow)
Deprecated. use filter() instead |
User |
Twitter.follow(java.lang.String id)
Deprecated. Use enableNotification(String id) instead |
void |
TwitterStream.gardenhose()
Deprecated. use sample() instead |
protected Response |
Twitter.get(java.lang.String url,
PostParameter[] params,
boolean authenticate)
Issues an HTTP GET request. |
protected Response |
Twitter.get(java.lang.String url,
PostParameter[] params,
Paging paging,
boolean authenticate)
Issues an HTTP GET request. |
protected Response |
Twitter.get(java.lang.String url,
java.lang.String name1,
java.lang.String value1,
boolean authenticate)
Issues an HTTP GET request. |
protected Response |
Twitter.get(java.lang.String url,
java.lang.String name1,
java.lang.String value1,
java.lang.String name2,
java.lang.String value2,
boolean authenticate)
Issues an HTTP GET request. |
User |
Twitter.getAuthenticatedUser()
Deprecated. Use verifyCredentials() instead |
StatusStream |
TwitterStream.getBirddogStream(int count,
int[] follow)
Deprecated. use filterStream() instead |
java.util.List<User> |
Twitter.getBlockingUsers()
Returns a list of user objects that the authenticating user is blocking. |
java.util.List<User> |
Twitter.getBlockingUsers(int page)
Returns a list of user objects that the authenticating user is blocking. |
void |
AsyncTwitter.getBlockingUsersAsync(int page,
TwitterListener listener)
Returns a list of user objects that the authenticating user is blocking. |
void |
AsyncTwitter.getBlockingUsersAsync(TwitterListener listener)
Returns a list of user objects that the authenticating user is blocking. |
IDs |
Twitter.getBlockingUsersIDs()
Returns an array of numeric user ids the authenticating user is blocking. |
void |
AsyncTwitter.getBlockingUsersIDsAsync(TwitterListener listener)
Returns an array of numeric user ids the authenticating user is blocking. |
protected static java.util.Date |
TwitterResponse.getChildDate(java.lang.String str,
org.w3c.dom.Element elem)
|
protected static java.util.Date |
TwitterResponse.getChildDate(java.lang.String str,
org.w3c.dom.Element elem,
java.lang.String format)
|
Trends |
Twitter.getCurrentTrends()
Returns the current top 10 trending topics on Twitter. |
Trends |
Twitter.getCurrentTrends(boolean excludeHashTags)
Returns the current top 10 trending topics on Twitter. |
java.util.List<Trends> |
Twitter.getDailyTrends()
Returns the top 20 trending topics for each hour in a given day. |
java.util.List<Trends> |
Twitter.getDailyTrends(java.util.Date date,
boolean excludeHashTags)
Returns the top 20 trending topics for each hour in a given day. |
java.util.List<DirectMessage> |
Twitter.getDirectMessages()
Returns a list of the direct messages sent to the authenticating user. |
java.util.List<DirectMessage> |
Twitter.getDirectMessages(java.util.Date since)
Deprecated. Use getDirectMessages(Paging paging) instead |
java.util.List<DirectMessage> |
Twitter.getDirectMessages(int sinceId)
Deprecated. Use getDirectMessages(Paging paging) instead |
java.util.List<DirectMessage> |
Twitter.getDirectMessages(int page,
int sinceId)
Deprecated. Use getDirectMessages(Paging paging) instead |
java.util.List<DirectMessage> |
Twitter.getDirectMessages(Paging paging)
Returns a list of the direct messages sent to the authenticating user. |
java.util.List<DirectMessage> |
Twitter.getDirectMessagesByPage(int page)
Deprecated. Use getDirectMessages(Paging paging) instead |
java.lang.String |
Twitter.getDowntimeSchedule()
Deprecated. this method is not supported by the Twitter API anymore |
java.util.List<Status> |
Twitter.getFavorites()
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
java.util.List<Status> |
Twitter.getFavorites(int page)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
java.util.List<Status> |
Twitter.getFavorites(java.lang.String id)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
java.util.List<Status> |
Twitter.getFavorites(java.lang.String id,
int page)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
java.util.List<User> |
Twitter.getFeatured()
Returns a list of the users currently featured on the site with their current statuses inline. |
StatusStream |
TwitterStream.getFilterStream(int count,
int[] follow,
java.lang.String[] track)
Returns stream of public statuses that match one or more filter predicates. |
StatusStream |
TwitterStream.getFirehoseStream(int count)
Returns a status stream of all public statuses. |
java.util.List<User> |
Twitter.getFollowers()
Deprecated. use getFollowersStatuses() instead |
java.util.List<User> |
Twitter.getFollowers(int page)
Deprecated. Use getFollowersStatuses(Paging paging) instead |
java.util.List<User> |
Twitter.getFollowers(Paging paging)
Deprecated. use getFollowersStatuses(paging) |
java.util.List<User> |
Twitter.getFollowers(java.lang.String id)
Deprecated. use getFollowersStatuses(id) instead |
java.util.List<User> |
Twitter.getFollowers(java.lang.String id,
int page)
Deprecated. Use getFollowersStatuses(String id, Paging paging) instead |
java.util.List<User> |
Twitter.getFollowers(java.lang.String id,
Paging paging)
Deprecated. use getFollowersStatuses(id) instead |
IDs |
Twitter.getFollowersIDs()
Returns an array of numeric IDs for every user the specified user is followed by. |
IDs |
Twitter.getFollowersIDs(int userId)
Returns an array of numeric IDs for every user the specified user is followed by. |
IDs |
Twitter.getFollowersIDs(int userId,
long cursor)
Returns an array of numeric IDs for every user the specified user is followed by. |
IDs |
Twitter.getFollowersIDs(int userId,
Paging paging)
Deprecated. use getFollowersIDs(int userId, long cursor) instead |
IDs |
Twitter.getFollowersIDs(long cursor)
Returns an array of numeric IDs for every user the specified user is followed by. |
IDs |
Twitter.getFollowersIDs(Paging paging)
Deprecated. use getFollowersIDs(long cursor) instead |
IDs |
Twitter.getFollowersIDs(java.lang.String screenName)
Returns an array of numeric IDs for every user the specified user is followed by. |
IDs |
Twitter.getFollowersIDs(java.lang.String screenName,
long cursor)
Returns an array of numeric IDs for every user the specified user is followed by. |
IDs |
Twitter.getFollowersIDs(java.lang.String screenName,
Paging paging)
Deprecated. use getFollowersIDs(String screenName, long cursor) instead |
void |
AsyncTwitter.getFollowersIDsAsync(java.lang.String screenName,
long cursor,
TwitterListener listener)
Returns an array of numeric IDs for every user the specified user is followed by. |
void |
AsyncTwitter.getFollowersIDsAsync(java.lang.String screenName,
Paging paging,
TwitterListener listener)
Deprecated. use getFollowersIDsAsync(String screenName, long cursor, TwitterListener listener) instead |
void |
AsyncTwitter.getFollowersIDsAsync(java.lang.String screenName,
TwitterListener listener)
Returns an array of numeric IDs for every user the specified user is followed by. |
java.util.List<User> |
Twitter.getFollowersStatuses()
Returns the authenticating user's followers, each with current status inline. |
java.util.List<User> |
Twitter.getFollowersStatuses(Paging paging)
Returns the authenticating user's followers, each with current status inline. |
java.util.List<User> |
Twitter.getFollowersStatuses(java.lang.String id)
Returns the authenticating user's followers, each with current status inline. |
java.util.List<User> |
Twitter.getFollowersStatuses(java.lang.String id,
Paging paging)
Returns the authenticating user's followers, each with current status inline. |
StatusStream |
TwitterStream.getFollowStream(int[] follow)
Deprecated. use filterStream() instead |
java.util.List<User> |
Twitter.getFriends()
Deprecated. use getFriendsStatues() instead |
java.util.List<User> |
Twitter.getFriends(int page)
Deprecated. Use getFriendsStatuses(Paging paging) instead |
java.util.List<User> |
Twitter.getFriends(Paging paging)
Deprecated. Use getFriendsStatuses(Paging paging) instead |
java.util.List<User> |
Twitter.getFriends(java.lang.String id)
Deprecated. use getFriendsStatuses(id) instead |
java.util.List<User> |
Twitter.getFriends(java.lang.String id,
int page)
Deprecated. Use getFriendsStatuses(String id, Paging paging) instead |
java.util.List<User> |
Twitter.getFriends(java.lang.String id,
Paging paging)
Deprecated. use getFriendsStatuses(id,paging) instead |
IDs |
Twitter.getFriendsIDs()
Returns an array of numeric IDs for every user the authenticating user is following. |
IDs |
Twitter.getFriendsIDs(int userId)
Returns an array of numeric IDs for every user the specified user is following. all IDs are attempted to be returned, but large sets of IDs will likely fail with timeout errors. |
IDs |
Twitter.getFriendsIDs(int userId,
long cursor)
Returns an array of numeric IDs for every user the specified user is following. |
IDs |
Twitter.getFriendsIDs(int userId,
Paging paging)
Deprecated. use getFriendsIDs(int userId, long cursor) instead |
IDs |
Twitter.getFriendsIDs(long cursor)
Returns an array of numeric IDs for every user the authenticating user is following. |
IDs |
Twitter.getFriendsIDs(Paging paging)
Deprecated. use getFriendsIDs(long cursor) instead |
IDs |
Twitter.getFriendsIDs(java.lang.String screenName)
Returns an array of numeric IDs for every user the specified user is following. |
IDs |
Twitter.getFriendsIDs(java.lang.String screenName,
long cursor)
Returns an array of numeric IDs for every user the specified user is following. |
IDs |
Twitter.getFriendsIDs(java.lang.String screenName,
Paging paging)
Deprecated. use getFriendsIDs(String screenName, long cursor) instead |
java.util.List<User> |
Twitter.getFriendsStatuses()
Returns the specified user's friends, each with current status inline. |
java.util.List<User> |
Twitter.getFriendsStatuses(Paging paging)
Returns the specified user's friends, each with current status inline. |
java.util.List<User> |
Twitter.getFriendsStatuses(java.lang.String id)
Returns the user's friends, each with current status inline. |
java.util.List<User> |
Twitter.getFriendsStatuses(java.lang.String id,
Paging paging)
Returns the user's friends, each with current status inline. |
java.util.List<Status> |
Twitter.getFriendsTimeline()
Returns the 20 most recent statuses posted in the last 24 hours from the authenticating1 user and that user's friends. |
java.util.List<Status> |
Twitter.getFriendsTimeline(java.util.Date since)
Deprecated. Use getFriendsTimeline(Paging paging) instead |
java.util.List<Status> |
Twitter.getFriendsTimeline(int page)
Deprecated. Use getFriendsTimeline(Paging paging) instead |
java.util.List<Status> |
Twitter.getFriendsTimeline(long sinceId)
Deprecated. Use getFriendsTimeline(Paging paging) instead |
java.util.List<Status> |
Twitter.getFriendsTimeline(long sinceId,
int page)
Deprecated. Use getFriendsTimeline(Paging paging) instead |
java.util.List<Status> |
Twitter.getFriendsTimeline(long sinceId,
java.lang.String id,
int page)
Deprecated. The Twitter API does not support this method anymore. |
java.util.List<Status> |
Twitter.getFriendsTimeline(Paging paging)
Returns the 20 most recent statuses posted in the last 24 hours from the specified userid. |
java.util.List<Status> |
Twitter.getFriendsTimeline(java.lang.String id)
Deprecated. The Twitter API does not support this method anymore. |
java.util.List<Status> |
Twitter.getFriendsTimeline(java.lang.String id,
java.util.Date since)
Deprecated. The Twitter API does not support this method anymore. |
java.util.List<Status> |
Twitter.getFriendsTimeline(java.lang.String id,
int page)
Deprecated. The Twitter API does not support this method anymore. |
java.util.List<Status> |
Twitter.getFriendsTimeline(java.lang.String id,
long sinceId)
Deprecated. The Twitter API does not support this method anymore. |
java.util.List<Status> |
Twitter.getFriendsTimeline(java.lang.String id,
Paging paging)
Deprecated. The Twitter API does not support this method anymore. |
java.util.List<Status> |
Twitter.getFriendsTimelineByPage(int page)
Deprecated. Use getFriendsTimeline(Paging paging) instead |
java.util.List<Status> |
Twitter.getFriendsTimelineByPage(java.lang.String id,
int page)
Deprecated. The Twitter API does not support this method anymore. |
StatusStream |
TwitterStream.getGardenhoseStream()
Deprecated. use sampleStream() instead |
java.util.List<Status> |
Twitter.getHomeTimeline()
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. |
java.util.List<Status> |
Twitter.getHomeTimeline(Paging paging)
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. |
java.util.List<Status> |
Twitter.getMentions()
Returns the 20 most recent mentions (status containing @username) for the authenticating user. |
java.util.List<Status> |
Twitter.getMentions(Paging paging)
Returns the 20 most recent mentions (status containing @username) for the authenticating user. |
AccessToken |
Twitter.getOAuthAccessToken(RequestToken requestToken)
Retrieves an access token assosiated with the supplied request token. |
AccessToken |
Twitter.getOAuthAccessToken(RequestToken requestToken,
java.lang.String pin)
Retrieves an access token assosiated with the supplied request token and sets userId. |
AccessToken |
Twitter.getOAuthAccessToken(java.lang.String token,
java.lang.String tokenSecret)
Retrieves an access token assosiated with the supplied request token and sets userId. |
AccessToken |
Twitter.getOAuthAccessToken(java.lang.String token,
java.lang.String tokenSecret,
java.lang.String oauth_verifier)
Retrieves an access token assosiated with the supplied request token. |
RequestToken |
Twitter.getOAuthRequestToken()
Retrieves a request token |
RequestToken |
Twitter.getOAuthRequestToken(java.lang.String callback_url)
|
java.util.List<Status> |
Twitter.getPublicTimeline()
Returns the 20 most recent statuses from non-protected users who have set a custom user icon. |
java.util.List<Status> |
Twitter.getPublicTimeline(int sinceID)
Deprecated. use getPublicTimeline(long sinceID) instead |
java.util.List<Status> |
Twitter.getPublicTimeline(long sinceID)
Returns only public statuses with an ID greater than (that is, more recent than) the specified ID. |
java.util.List<Status> |
Twitter.getReplies()
Deprecated. Use getMentions() instead |
java.util.List<Status> |
Twitter.getReplies(int page)
Deprecated. Use getMentions(Paging paging) instead |
java.util.List<Status> |
Twitter.getReplies(long sinceId)
Deprecated. Use getMentions(Paging paging) instead |
java.util.List<Status> |
Twitter.getReplies(long sinceId,
int page)
Deprecated. Use getMentions(Paging paging) instead |
java.util.List<Status> |
Twitter.getRepliesByPage(int page)
Deprecated. Use getMentions(Paging paging) instead |
java.util.List<Status> |
Twitter.getRetweetedByMe()
Returns the 20 most recent retweets posted by the authenticating user. |
java.util.List<Status> |
Twitter.getRetweetedByMe(Paging paging)
Returns the 20 most recent retweets posted by the authenticating user. |
java.util.List<Status> |
Twitter.getRetweetedToMe()
Returns the 20 most recent retweets posted by the authenticating user's friends. |
java.util.List<Status> |
Twitter.getRetweetedToMe(Paging paging)
Returns the 20 most recent retweets posted by the authenticating user's friends. |
java.util.List<RetweetDetails> |
Twitter.getRetweets(long statusId)
Returns up to 100 of the first retweets of a given tweet. |
java.util.List<Status> |
Twitter.getRetweetsOfMe()
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others. |
java.util.List<Status> |
Twitter.getRetweetsOfMe(Paging paging)
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others. |
StatusStream |
TwitterStream.getRetweetStream()
Returns a stream of all retweets. |
StatusStream |
TwitterStream.getSampleStream()
Returns a stream of random sample of all public statuses. |
java.util.List<SavedSearch> |
Twitter.getSavedSearches()
Returns the authenticated user's saved search queries. |
java.util.List<DirectMessage> |
Twitter.getSentDirectMessages()
Returns a list of the direct messages sent by the authenticating user. |
java.util.List<DirectMessage> |
Twitter.getSentDirectMessages(java.util.Date since)
Deprecated. using long sinceId is suggested. |
java.util.List<DirectMessage> |
Twitter.getSentDirectMessages(int sinceId)
Deprecated. Use getSentDirectMessages(Paging paging) instead |
java.util.List<DirectMessage> |
Twitter.getSentDirectMessages(int page,
int sinceId)
Deprecated. Use getSentDirectMessages(Paging paging) instead |
java.util.List<DirectMessage> |
Twitter.getSentDirectMessages(Paging paging)
Returns a list of the direct messages sent by the authenticating user. |
StatusStream |
TwitterStream.getShadowStream(int count,
int[] follow)
Deprecated. use filterStream() instead |
StatusStream |
TwitterStream.getSpritzerStream()
Deprecated. use sampleStream() instead |
StatusStream |
TwitterStream.getTrackStream(java.lang.String[] keywords)
Deprecated. use filterStream() instead |
Trends |
Twitter.getTrends()
Returns the top ten topics that are currently trending on Twitter. |
User |
Twitter.getUserDetail(java.lang.String id)
Deprecated. use showUser(id) instead |
java.util.List<Status> |
Twitter.getUserTimeline()
Returns the most recent statuses posted in the last 24 hours from the authenticating user. |
java.util.List<Status> |
Twitter.getUserTimeline(int count,
java.util.Date since)
Deprecated. using long sinceId is suggested. |
java.util.List<Status> |
Twitter.getUserTimeline(int count,
long sinceId)
Deprecated. Use getUserTimeline(String id, Paging paging) instead |
java.util.List<Status> |
Twitter.getUserTimeline(long sinceId)
Deprecated. Use getUserTimeline(Paging paging) instead |
java.util.List<Status> |
Twitter.getUserTimeline(Paging paging)
Returns the most recent statuses posted in the last 24 hours from the authenticating user. |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id)
Returns the most recent statuses posted in the last 24 hours from the specified userid. |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id,
java.util.Date since)
Deprecated. Use getUserTimeline(String id, Paging paging) instead |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id,
int count)
Deprecated. Use getUserTimeline(String id, Paging paging) instead |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id,
int count,
java.util.Date since)
Deprecated. using long sinceId is suggested. |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id,
int count,
long sinceId)
Deprecated. Use getUserTimeline(String id, Paging paging) instead |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id,
long sinceId)
Deprecated. Use getUserTimeline(String id, Paging paging) instead |
java.util.List<Status> |
Twitter.getUserTimeline(java.lang.String id,
Paging paging)
Returns the most recent statuses posted in the last 24 hours from the specified userid. |
java.util.List<Trends> |
Twitter.getWeeklyTrends()
Returns the top 30 trending topics for each day in a given week. |
java.util.List<Trends> |
Twitter.getWeeklyTrends(java.util.Date date,
boolean excludeHashTags)
Returns the top 30 trending topics for each day in a given week. |
User |
Twitter.leave(java.lang.String id)
Deprecated. Use disableNotification(String id) instead |
Status |
StatusStream.next()
|
protected static java.util.Date |
TwitterResponse.parseDate(java.lang.String str,
java.lang.String format)
|
RateLimitStatus |
Twitter.rateLimitStatus()
Returns the remaining number of API requests available to the requesting user before the API limit is reached for the current hour. |
void |
TwitterStream.retweet()
Starts listening on all retweets. |
Status |
Twitter.retweetStatus(long statusId)
Retweets a tweet. |
void |
TwitterStream.sample()
Starts listening on random sample of all public statuses. |
QueryResult |
Twitter.search(Query query)
Returns tweets that match a specified query. |
DirectMessage |
User.sendDirectMessage(java.lang.String text)
|
DirectMessage |
Twitter.sendDirectMessage(java.lang.String id,
java.lang.String text)
Sends a new direct message to the specified user from the authenticating user. |
void |
TwitterStream.shadow(int count,
int[] follow)
Deprecated. use filter() instead |
Status |
Twitter.show(int id)
Deprecated. Use showStatus(long id) instead. |
Status |
Twitter.show(long id)
Deprecated. Use showStatus(long id) instead. |
SavedSearch |
Twitter.showSavedSearch(int id)
Retrieve the data for a saved search owned by the authenticating user specified by the given id. |
Status |
Twitter.showStatus(long id)
Returns a single status, specified by the id parameter. |
User |
Twitter.showUser(java.lang.String id)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter below. |
void |
TwitterStream.spritzer()
Deprecated. use sample() instead |
boolean |
Twitter.test()
Returns the string "ok" in the requested format with a 200 OK HTTP status code. |
void |
TwitterStream.track(java.lang.String[] keywords)
Deprecated. use filter() instead |
User |
Twitter.unblock(java.lang.String id)
Deprecated. Use destroyBlock(String id) instead |
Status |
Twitter.update(java.lang.String status)
Deprecated. Use updateStatus(String status) instead |
Status |
Twitter.update(java.lang.String status,
long inReplyToStatusId)
Deprecated. Use updateStatus(String status, long inReplyToStatusId) instead |
User |
Twitter.updateDeliverlyDevice(twitter4j.Twitter.Device device)
Sets which device Twitter delivers updates to for the authenticating user. |
User |
Twitter.updateLocation(java.lang.String location)
Deprecated. Use updateProfile(String name, String email, String url, String location, String description) instead |
User |
Twitter.updateProfile(java.lang.String name,
java.lang.String email,
java.lang.String url,
java.lang.String location,
java.lang.String description)
Sets values that users are able to set under the "Account" tab of their settings page. |
User |
Twitter.updateProfileColors(java.lang.String profileBackgroundColor,
java.lang.String profileTextColor,
java.lang.String profileLinkColor,
java.lang.String profileSidebarFillColor,
java.lang.String profileSidebarBorderColor)
Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com. |
Status |
Twitter.updateStatus(java.lang.String status)
Updates the user's status. |
Status |
Twitter.updateStatus(java.lang.String status,
double latitude,
double longitude)
Updates the user's status. |
Status |
Twitter.updateStatus(java.lang.String status,
long inReplyToStatusId)
Updates the user's status. |
Status |
Twitter.updateStatus(java.lang.String status,
long inReplyToStatusId,
double latitude,
double longitude)
Updates the user's status. |
User |
Twitter.verifyCredentials()
Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. |
| Constructors in twitter4j that throw TwitterException | |
|---|---|
Status(java.lang.String str)
|
|
| Uses of TwitterException in twitter4j.examples |
|---|
| Methods in twitter4j.examples that throw TwitterException | |
|---|---|
static void |
Update.main(java.lang.String[] args)
Main entry for this application. |
| Uses of TwitterException in twitter4j.http |
|---|
| Methods in twitter4j.http that throw TwitterException | |
|---|---|
org.w3c.dom.Document |
Response.asDocument()
Returns the response body as org.w3c.dom.Document. Disconnects the internal HttpURLConnection silently. |
twitter4j.org.json.JSONArray |
Response.asJSONArray()
Returns the response body as twitter4j.org.json.JSONArray. Disconnects the internal HttpURLConnection silently. |
twitter4j.org.json.JSONObject |
Response.asJSONObject()
Returns the response body as twitter4j.org.json.JSONObject. Disconnects the internal HttpURLConnection silently. |
java.lang.String |
Response.asString()
Returns the response body as string. Disconnects the internal HttpURLConnection silently. |
Response |
HttpClient.get(java.lang.String url)
|
Response |
HttpClient.get(java.lang.String url,
boolean authenticated)
|
AccessToken |
RequestToken.getAccessToken()
|
AccessToken |
HttpClient.getOAuthAccessToken(RequestToken token)
|
AccessToken |
HttpClient.getOAuthAccessToken(RequestToken token,
java.lang.String pin)
|
AccessToken |
HttpClient.getOAuthAccessToken(java.lang.String token,
java.lang.String tokenSecret)
|
AccessToken |
HttpClient.getOAuthAccessToken(java.lang.String token,
java.lang.String tokenSecret,
java.lang.String oauth_verifier)
|
RequestToken |
HttpClient.getOAuthRequestToken()
|
RequestToken |
HttpClient.getOauthRequestToken(java.lang.String callback_url)
|
protected Response |
HttpClient.httpRequest(java.lang.String url,
PostParameter[] postParams,
boolean authenticated)
|
Response |
HttpClient.post(java.lang.String url)
|
Response |
HttpClient.post(java.lang.String url,
boolean authenticated)
|
Response |
HttpClient.post(java.lang.String url,
PostParameter[] PostParameters)
|
Response |
HttpClient.post(java.lang.String url,
PostParameter[] postParameters,
boolean authenticated)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||