Uses of Class
twitter4j.TwitterException

Packages that use TwitterException
twitter4j   
twitter4j.api   
twitter4j.http   
twitter4j.json   
twitter4j.util   
 

Uses of TwitterException in twitter4j
 

Methods in twitter4j with parameters of type TwitterException
 void TwitterListener.onException(TwitterException te, TwitterMethod method)
           
 void TwitterAdapter.onException(TwitterException ex, TwitterMethod method)
           
 

Methods in twitter4j that throw TwitterException
 UserList Twitter.addUserListMember(int listId, int userId)
          Adds a member to a list.
 UserList Twitter.addUserListMembers(int listId, int[] userIds)
          Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names.
 UserList Twitter.addUserListMembers(int listId, java.lang.String[] screenNames)
          Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names.
 User Twitter.checkUserListMembership(java.lang.String listOwnerScreenName, int listId, int userId)
          Check if a user is a member of the specified list.

This method calls http://api.twitter.com/1/[listOwner]/[listId]/members/id.json
 User Twitter.checkUserListSubscription(java.lang.String listOwnerScreenName, int listId, int userId)
          Check if the specified user is a subscriber of the specified list.
 User Twitter.createBlock(int userId)
          Blocks the user specified in the ID parameter as the authenticating user.
 User Twitter.createBlock(java.lang.String screenName)
          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(int userId)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 User Twitter.createFriendship(int userId, boolean follow)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 User Twitter.createFriendship(java.lang.String screenName)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 User Twitter.createFriendship(java.lang.String screenName, boolean follow)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 Place Twitter.createPlace(java.lang.String name, java.lang.String containedWithin, java.lang.String token, GeoLocation location, java.lang.String streetAddress)
          Creates a new place at the given latitude and longitude.
 SavedSearch Twitter.createSavedSearch(java.lang.String query)
          Creates a saved search for the authenticated user.
 UserList Twitter.createUserList(java.lang.String listName, boolean isPublicList, java.lang.String description)
          Creates a new list for the authenticated user.
 UserList Twitter.deleteUserListMember(int listId, int userId)
          Removes the specified member from the list.
 User Twitter.destroyBlock(int userId)
          Un-blocks the user specified in the ID parameter as the authenticating user.
 User Twitter.destroyBlock(java.lang.String screen_name)
          Un-blocks the user specified in the ID parameter as the authenticating user.
 DirectMessage Twitter.destroyDirectMessage(long 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(int userId)
          Allows the authenticating users to unfollow the user specified in the ID parameter.
Returns the unfollowed user in the requested format when successful.
 User Twitter.destroyFriendship(java.lang.String screenName)
          Allows the authenticating users to unfollow the user specified in the ID parameter.
Returns the unfollowed user in the requested format when successful.
 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.
Usage note: The authenticating user must be the author of the specified status.
 UserList Twitter.destroyUserList(int listId)
          Deletes the specified list.
 User Twitter.disableNotification(int userId)
          Disables notifications for updates from the specified user to the authenticating user.
 User Twitter.disableNotification(java.lang.String screenName)
          Disables notifications for updates from the specified user to the authenticating user.
 User Twitter.enableNotification(int userId)
          Enables notifications for updates from the specified user to the authenticating user.
 User Twitter.enableNotification(java.lang.String screenName)
          Enables notifications for updates from the specified user to the authenticating user.
 boolean Twitter.existsBlock(int userId)
          Returns if the authenticating user is blocking a target user.
 boolean Twitter.existsBlock(java.lang.String screenName)
          Returns if the authenticating user is blocking a target user.
 boolean Twitter.existsFriendship(java.lang.String userA, java.lang.String userB)
          Tests for the existence of friendship between two users.
 void TwitterStream.filter(FilterQuery query)
          Start consuming public statuses that match one or more filter predicates.
 AccountSettings Twitter.getAccountSettings()
          Returns the current trend, geo and sleep time information for the authenticating user.
 AccountTotals Twitter.getAccountTotals()
          Returns the current count of friends, followers, updates (statuses) and favorites of the authenticating user.
 ResponseList<UserList> Twitter.getAllUserLists(int userId)
          Returns all lists the authenticating or specified user subscribes to, including their own.
 ResponseList<UserList> Twitter.getAllUserLists(java.lang.String screenName)
          Returns all lists the authenticating or specified user subscribes to, including their own.
 ResponseList<Location> Twitter.getAvailableTrends()
          Returns the locations that Twitter has trending topic information for.
 ResponseList<Location> Twitter.getAvailableTrends(GeoLocation location)
          Returns the sorted locations that Twitter has trending topic information for.
 ResponseList<User> Twitter.getBlockingUsers()
          Returns a list of user objects that the authenticating user is blocking.
 ResponseList<User> Twitter.getBlockingUsers(int page)
          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.
 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.
 ResponseList<DirectMessage> Twitter.getDirectMessages()
          Returns a list of the direct messages sent to the authenticating user.
 ResponseList<DirectMessage> Twitter.getDirectMessages(Paging paging)
          Returns a list of the direct messages sent to the authenticating user.
 ResponseList<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.
 ResponseList<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.
 ResponseList<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.
 ResponseList<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.
 StatusStream TwitterStream.getFilterStream(FilterQuery query)
          Returns public statuses that match one or more filter predicates.
 StatusStream TwitterStream.getFilterStream(int count, int[] follow, java.lang.String[] track)
          Deprecated. use TwitterStream.getFilterStream(FilterQuery) instead
 StatusStream TwitterStream.getFirehoseStream(int count)
          Returns a status stream of all public statuses.
 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(long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 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.
 PagableResponseList<User> Twitter.getFollowersStatuses()
          Returns the authenticating user's followers, each with current status inline.
 PagableResponseList<User> Twitter.getFollowersStatuses(int userId)
          Returns the specified user's followers, each with current status inline.
 PagableResponseList<User> Twitter.getFollowersStatuses(int userId, long cursor)
          Returns the specified user's followers, each with current status inline.
 PagableResponseList<User> Twitter.getFollowersStatuses(long cursor)
          Returns the authenticating user's followers, each with current status inline.
 PagableResponseList<User> Twitter.getFollowersStatuses(java.lang.String screenName)
          Returns the specified user's followers, each with current status inline.
 PagableResponseList<User> Twitter.getFollowersStatuses(java.lang.String screenName, long cursor)
          Returns the specified user's followers, each with current status inline.
 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(long cursor)
          Returns an array of numeric IDs for every user the authenticating user is following.
 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.
 PagableResponseList<User> Twitter.getFriendsStatuses()
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> Twitter.getFriendsStatuses(int userId)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> Twitter.getFriendsStatuses(int userId, long cursor)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> Twitter.getFriendsStatuses(long cursor)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> Twitter.getFriendsStatuses(java.lang.String screenName)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> Twitter.getFriendsStatuses(java.lang.String screenName, long cursor)
          Returns a user's friends, each with current status inline.
 ResponseList<Status> Twitter.getFriendsTimeline()
          Returns the 20 most recent statuses posted by the authenticating user and that user's friends.
 ResponseList<Status> Twitter.getFriendsTimeline(Paging paging)
          Returns the 20 most recent statuses posted by the authenticating user and that user's friends.
 Place Twitter.getGeoDetails(java.lang.String id)
          Find out more details of a place that was returned from the GeoMethodsAsync.reverseGeoCode(twitter4j.GeoQuery) method.
 ResponseList<Status> Twitter.getHomeTimeline()
          Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
 ResponseList<Status> Twitter.getHomeTimeline(Paging paging)
          Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
 int Twitter.getId()
          Returns authenticating user's user id.
This method may internally call verifyCredentials() on the first invocation if
- this instance is authenticated by Basic and email address is supplied instead of screen name, or - this instance is authenticated by OAuth.
 int AsyncTwitter.getId()
          Returns authenticating user's user id.
This method may internally call verifyCredentials() on the first invocation if
- this instance is authenticated by Basic and email address is supplied instead of screen name, or - this instance is authenticated by OAuth.
 IDs Twitter.getIncomingFriendships(long cursor)
          Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.
 StatusStream TwitterStream.getLinksStream(int count)
          Returns a status stream of all public statuses containing links.
 Trends Twitter.getLocationTrends(int woeid)
          Returns the top 10 trending topics for a specific location Twitter has trending topic information for.
 ResponseList<User> Twitter.getMemberSuggestions(java.lang.String categorySlug)
          Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.
 ResponseList<Status> Twitter.getMentions()
          Returns the 20 most recent mentions (status containing @username) for the authenticating user.
 ResponseList<Status> Twitter.getMentions(Paging paging)
          Returns the 20 most recent mentions (status containing @username) for the authenticating user.
 ResponseList<Place> Twitter.getNearbyPlaces(GeoQuery query)
          Search for places (cities and neighborhoods) that can be attached to a statuses/update.
 AccessToken AsyncTwitter.getOAuthAccessToken()
          Returns an access token associated with this instance.
If no access token is associated with this instance, this will retrieve a new access token.
 AccessToken AsyncTwitter.getOAuthAccessToken(RequestToken requestToken)
          Retrieves an access token associated with the supplied request token and sets userId.
 AccessToken AsyncTwitter.getOAuthAccessToken(RequestToken requestToken, java.lang.String oauthVerifier)
          Retrieves an access token associated with the supplied request token and sets userId.
 AccessToken AsyncTwitter.getOAuthAccessToken(java.lang.String oauthVerifier)
          Retrieves an access token.
 AccessToken AsyncTwitter.getOAuthAccessToken(java.lang.String token, java.lang.String tokenSecret)
          Deprecated. Use AsyncTwitterFactory.getInstance(Authorization)
 AccessToken AsyncTwitter.getOAuthAccessToken(java.lang.String token, java.lang.String tokenSecret, java.lang.String pin)
          Retrieves an access token associated with the supplied request token.
 RequestToken AsyncTwitter.getOAuthRequestToken()
          Retrieves a request token
 RequestToken AsyncTwitter.getOAuthRequestToken(java.lang.String callbackUrl)
          Retrieves a request token
 IDs Twitter.getOutgoingFriendships(long cursor)
          Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
 java.lang.String Twitter.getPrivacyPolicy()
          Returns Twitter's Privacy Policy.
 ProfileImage Twitter.getProfileImage(java.lang.String screenName, ProfileImage.ImageSize size)
          Access the profile image in various sizes for the user with the indicated screen_name.
 ResponseList<Status> Twitter.getPublicTimeline()
          Returns the 20 most recent statuses from non-protected users who have set a custom user icon.
 RateLimitStatus Twitter.getRateLimitStatus()
          Returns the remaining number of API requests available to the requesting user before the API limit is reached for the current hour.
 RelatedResults Twitter.getRelatedResults(long statusId)
          If available, returns an array of replies and mentions related to the specified Tweet.
 void AsyncTwitter.getRelatedResults(long statusId)
           
 ResponseList<User> Twitter.getRetweetedBy(long statusId)
          Show user objects of up to 100 members who retweeted the status.
 ResponseList<User> Twitter.getRetweetedBy(long statusId, Paging paging)
          Show user objects of up to 100 members who retweeted the status.
 IDs Twitter.getRetweetedByIDs(long statusId)
          Show user ids of up to 100 users who retweeted the status represented by id
This method calls http://api.twitter.com/1/statuses/:id/retweeted_by/ids.format
 IDs Twitter.getRetweetedByIDs(long statusId, Paging paging)
          Show user ids of up to 100 users who retweeted the status.
 ResponseList<Status> Twitter.getRetweetedByMe()
          Returns the 20 most recent retweets posted by the authenticating user.
 ResponseList<Status> Twitter.getRetweetedByMe(Paging paging)
          Returns the 20 most recent retweets posted by the authenticating user.
 ResponseList<Status> Twitter.getRetweetedByUser(int userId, Paging paging)
          Returns the 20 most recent retweets posted by the specified user.
 ResponseList<Status> Twitter.getRetweetedByUser(java.lang.String screenName, Paging paging)
          Returns the 20 most recent retweets posted by the specified user.
 ResponseList<Status> Twitter.getRetweetedToMe()
          Returns the 20 most recent retweets posted by the authenticating user's friends.
 ResponseList<Status> Twitter.getRetweetedToMe(Paging paging)
          Returns the 20 most recent retweets posted by the authenticating user's friends.
 ResponseList<Status> Twitter.getRetweetedToUser(int userId, Paging paging)
          Returns the 20 most recent retweets posted by users the specified user follows.
 ResponseList<Status> Twitter.getRetweetedToUser(java.lang.String screenName, Paging paging)
          Returns the 20 most recent retweets posted by users the specified user follows.
 ResponseList<Status> Twitter.getRetweets(long statusId)
          Returns up to 100 of the first retweets of a given tweet.
 ResponseList<Status> Twitter.getRetweetsOfMe()
          Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
 ResponseList<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.lang.String Twitter.getScreenName()
          Returns authenticating user's screen name.
This method may internally call verifyCredentials() on the first invocation if
- this instance is authenticated by Basic and email address is supplied instead of screen name, or - this instance is authenticated by OAuth.
Note that this method returns a transiently cached (will be lost upon serialization) screen name while it is possible to change a user's screen name.
 java.lang.String AsyncTwitter.getScreenName()
          Returns authenticating user's screen name.
This method may internally call verifyCredentials() on the first invocation if
- this instance is authenticated by Basic and email address is supplied instead of screen name, or - this instance is authenticated by OAuth.
Note that this method returns a transiently cached (will be lost upon serialization) screen name while it is possible to change a user's screen name.
 ResponseList<DirectMessage> Twitter.getSentDirectMessages()
          Returns a list of the direct messages sent by the authenticating user.
 ResponseList<DirectMessage> Twitter.getSentDirectMessages(Paging paging)
          Returns a list of the direct messages sent by the authenticating user.
 SimilarPlaces Twitter.getSimilarPlaces(GeoLocation location, java.lang.String name, java.lang.String containedWithin, java.lang.String streetAddress)
          Locates places near the given coordinates which are similar in name.
 ResponseList<Category> Twitter.getSuggestedUserCategories()
          Access to Twitter's suggested user list.
 java.lang.String Twitter.getTermsOfService()
          Returns Twitter's' Terms of Service.
 Trends Twitter.getTrends()
          Returns the top ten topics that are currently trending on Twitter.
 PagableResponseList<User> Twitter.getUserListMembers(java.lang.String listOwnerScreenName, int listId, long cursor)
          Returns the members of the specified list.
 PagableResponseList<UserList> Twitter.getUserListMemberships(java.lang.String listMemberScreenName, long cursor)
          List the lists the specified user has been added to.
 PagableResponseList<UserList> Twitter.getUserLists(java.lang.String listOwnerScreenName, long cursor)
          List the lists of the specified user.
 ResponseList<Status> Twitter.getUserListStatuses(java.lang.String listOwnerScreenName, int id, Paging paging)
          Show tweet timeline for members of the specified list.
 PagableResponseList<User> Twitter.getUserListSubscribers(java.lang.String listOwnerScreenName, int listId, long cursor)
          Returns the subscribers of the specified list.
 PagableResponseList<UserList> Twitter.getUserListSubscriptions(java.lang.String listOwnerScreenName, long cursor)
          List the lists the specified user follows.
 UserStream TwitterStream.getUserStream()
          User Streams provides real-time updates of all data needed to update a desktop application display.
 UserStream TwitterStream.getUserStream(java.lang.String[] track)
          User Streams provides real-time updates of all data needed to update a desktop application display.
 ResponseList<User> Twitter.getUserSuggestions(java.lang.String categorySlug)
          Access the users in a given category of the Twitter suggested user list.
It is recommended that end clients cache this data for no more than one hour.
 ResponseList<Status> Twitter.getUserTimeline()
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> Twitter.getUserTimeline(int userId)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> Twitter.getUserTimeline(int userId, Paging paging)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> Twitter.getUserTimeline(Paging paging)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> Twitter.getUserTimeline(java.lang.String screenName)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> Twitter.getUserTimeline(java.lang.String screenName, Paging paging)
          Returns the 20 most recent statuses posted from the authenticating user.
 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.
 ResponseList<Friendship> Twitter.lookupFriendships(int[] ids)
          Returns the relationship of the authenticating user to the specified users.
 ResponseList<Friendship> Twitter.lookupFriendships(java.lang.String[] screenNames)
          Returns the relationship of the authenticating user to the specified users.
 ResponseList<User> Twitter.lookupUsers(int[] ids)
          Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
 ResponseList<User> Twitter.lookupUsers(java.lang.String[] screenNames)
          Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
 void StatusStream.next(StatusListener listener)
          Reads next status from this stream.
 void UserStream.next(UserStreamListener listener)
          Reads next element from this stream.
 User Twitter.reportSpam(int userId)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 void AsyncTwitter.reportSpam(int userId)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 User Twitter.reportSpam(java.lang.String screenName)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 void AsyncTwitter.reportSpam(java.lang.String screenName)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 Status Twitter.retweetStatus(long statusId)
          Retweets a tweet.
 ResponseList<Place> Twitter.reverseGeoCode(GeoQuery query)
          Search for places (cities and neighborhoods) that can be attached to a statuses/update.
 QueryResult Twitter.search(Query query)
          Returns tweets that match a specified query.
 ResponseList<Place> Twitter.searchPlaces(GeoQuery query)
          Search for places that can be attached to a statuses/update.
 ResponseList<User> Twitter.searchUsers(java.lang.String query, int page)
          Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API.
Usage note: It is only possible to retrieve the first 1000 matches from this API.
 DirectMessage Twitter.sendDirectMessage(int userId, java.lang.String text)
          Sends a new direct message to the specified user from the authenticating user.
 DirectMessage Twitter.sendDirectMessage(java.lang.String screenName, java.lang.String text)
          Sends a new direct message to the specified user from the authenticating user.
 DirectMessage Twitter.showDirectMessage(long id)
          Returns a single direct message, specified by an id parameter.
 Relationship Twitter.showFriendship(int sourceId, int targetId)
          Returns detailed information about the relationship between two users.
 Relationship Twitter.showFriendship(java.lang.String sourceScreenName, java.lang.String targetScreenName)
          Returns detailed information about the relationship between two users.
 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 below.
 User Twitter.showUser(int userId)
          Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
 User Twitter.showUser(java.lang.String screenName)
          Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
 UserList Twitter.showUserList(java.lang.String listOwnerScreenName, int id)
          Show the specified list.
 UserList Twitter.subscribeUserList(java.lang.String listOwnerScreenName, int listId)
          Make the authenticated user follow the specified list.
 boolean Twitter.test()
          Returns the string "ok" in the requested format with a 200 OK HTTP status code.
 UserList Twitter.unsubscribeUserList(java.lang.String listOwnerScreenName, int listId)
          Unsubscribes the authenticated user form the specified list.
 Relationship Twitter.updateFriendship(int userId, boolean enableDeviceNotification, boolean retweets)
          Allows you to enable or disable retweets and device notifications from the specified user.
 Relationship Twitter.updateFriendship(java.lang.String screenName, boolean enableDeviceNotification, boolean retweets)
          Allows you to enable or disable retweets and device notifications from the specified user.
 User Twitter.updateProfile(java.lang.String name, 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.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.updateProfileBackgroundImage(java.io.File image, boolean tile)
          Updates the authenticating user's profile background image.
 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.
 User Twitter.updateProfileImage(java.io.File image)
          Updates the authenticating user's profile image.
 Status Twitter.updateStatus(StatusUpdate latestStatus)
          Updates the authenticating user's status.
 Status Twitter.updateStatus(java.lang.String status)
          Updates the authenticating user's status.
 Status Twitter.updateStatus(java.lang.String status, GeoLocation location)
          Updates the authenticating user's status.
 Status Twitter.updateStatus(java.lang.String status, long inReplyToStatusId)
          Updates the authenticating user's status.
 Status Twitter.updateStatus(java.lang.String status, long inReplyToStatusId, GeoLocation location)
          Updates the authenticating user's status.
 UserList Twitter.updateUserList(int listId, java.lang.String newListName, boolean isPublicList, java.lang.String newDescription)
          Updates the specified list.
 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.
 

Uses of TwitterException in twitter4j.api
 

Methods in twitter4j.api that throw TwitterException
 UserList ListMembersMethods.addUserListMember(int listId, int userId)
          Adds a member to a list.
 UserList ListMembersMethods.addUserListMembers(int listId, int[] userIds)
          Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names.
 UserList ListMembersMethods.addUserListMembers(int listId, java.lang.String[] screenNames)
          Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names.
 User ListMembersMethods.checkUserListMembership(java.lang.String listOwnerScreenName, int listId, int userId)
          Check if a user is a member of the specified list.

This method calls http://api.twitter.com/1/[listOwner]/[listId]/members/id.json
 User ListSubscribersMethods.checkUserListSubscription(java.lang.String listOwnerScreenName, int listId, int userId)
          Check if the specified user is a subscriber of the specified list.
 User BlockMethods.createBlock(int userId)
          Blocks the user specified in the ID parameter as the authenticating user.
 User BlockMethods.createBlock(java.lang.String screenName)
          Blocks the user specified in the ID parameter as the authenticating user.
 Status FavoriteMethods.createFavorite(long id)
          Favorites the status specified in the ID parameter as the authenticating user.
 User FriendshipMethods.createFriendship(int userId)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 User FriendshipMethods.createFriendship(int userId, boolean follow)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 User FriendshipMethods.createFriendship(java.lang.String screenName)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 User FriendshipMethods.createFriendship(java.lang.String screenName, boolean follow)
          Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
 Place GeoMethods.createPlace(java.lang.String name, java.lang.String containedWithin, java.lang.String token, GeoLocation location, java.lang.String streetAddress)
          Creates a new place at the given latitude and longitude.
 SavedSearch SavedSearchesMethods.createSavedSearch(java.lang.String query)
          Creates a saved search for the authenticated user.
 UserList ListMethods.createUserList(java.lang.String listName, boolean isPublicList, java.lang.String description)
          Creates a new list for the authenticated user.
 UserList ListMembersMethods.deleteUserListMember(int listId, int userId)
          Removes the specified member from the list.
 User BlockMethods.destroyBlock(int userId)
          Un-blocks the user specified in the ID parameter as the authenticating user.
 User BlockMethods.destroyBlock(java.lang.String screen_name)
          Un-blocks the user specified in the ID parameter as the authenticating user.
 DirectMessage DirectMessageMethods.destroyDirectMessage(long id)
          Destroys the direct message specified in the required ID parameter.
 Status FavoriteMethods.destroyFavorite(long id)
          Un-favorites the status specified in the ID parameter as the authenticating user.
 User FriendshipMethods.destroyFriendship(int userId)
          Allows the authenticating users to unfollow the user specified in the ID parameter.
Returns the unfollowed user in the requested format when successful.
 User FriendshipMethods.destroyFriendship(java.lang.String screenName)
          Allows the authenticating users to unfollow the user specified in the ID parameter.
Returns the unfollowed user in the requested format when successful.
 SavedSearch SavedSearchesMethods.destroySavedSearch(int id)
          Destroys a saved search for the authenticated user.
 Status StatusMethods.destroyStatus(long statusId)
          Destroys the status specified by the required ID parameter.
Usage note: The authenticating user must be the author of the specified status.
 UserList ListMethods.destroyUserList(int listId)
          Deletes the specified list.
 User NotificationMethods.disableNotification(int userId)
          Disables notifications for updates from the specified user to the authenticating user.
 User NotificationMethods.disableNotification(java.lang.String screenName)
          Disables notifications for updates from the specified user to the authenticating user.
 User NotificationMethods.enableNotification(int userId)
          Enables notifications for updates from the specified user to the authenticating user.
 User NotificationMethods.enableNotification(java.lang.String screenName)
          Enables notifications for updates from the specified user to the authenticating user.
 boolean BlockMethods.existsBlock(int userId)
          Returns if the authenticating user is blocking a target user.
 boolean BlockMethods.existsBlock(java.lang.String screenName)
          Returns if the authenticating user is blocking a target user.
 boolean FriendshipMethods.existsFriendship(java.lang.String userA, java.lang.String userB)
          Tests for the existence of friendship between two users.
 AccountSettings AccountMethods.getAccountSettings()
          Returns the current trend, geo and sleep time information for the authenticating user.
 AccountTotals AccountMethods.getAccountTotals()
          Returns the current count of friends, followers, updates (statuses) and favorites of the authenticating user.
 ResponseList<UserList> ListMethods.getAllUserLists(int userId)
          Returns all lists the authenticating or specified user subscribes to, including their own.
 ResponseList<UserList> ListMethods.getAllUserLists(java.lang.String screenName)
          Returns all lists the authenticating or specified user subscribes to, including their own.
 ResponseList<Location> LocalTrendsMethods.getAvailableTrends()
          Returns the locations that Twitter has trending topic information for.
 ResponseList<Location> LocalTrendsMethods.getAvailableTrends(GeoLocation location)
          Returns the sorted locations that Twitter has trending topic information for.
 ResponseList<User> BlockMethods.getBlockingUsers()
          Returns a list of user objects that the authenticating user is blocking.
 ResponseList<User> BlockMethods.getBlockingUsers(int page)
          Returns a list of user objects that the authenticating user is blocking.
 IDs BlockMethods.getBlockingUsersIDs()
          Returns an array of numeric user ids the authenticating user is blocking.
 Trends TrendsMethods.getCurrentTrends()
          Returns the current top 10 trending topics on Twitter.
 Trends TrendsMethods.getCurrentTrends(boolean excludeHashTags)
          Returns the current top 10 trending topics on Twitter.
 java.util.List<Trends> TrendsMethods.getDailyTrends()
          Returns the top 20 trending topics for each hour in a given day.
 java.util.List<Trends> TrendsMethods.getDailyTrends(java.util.Date date, boolean excludeHashTags)
          Returns the top 20 trending topics for each hour in a given day.
 ResponseList<DirectMessage> DirectMessageMethods.getDirectMessages()
          Returns a list of the direct messages sent to the authenticating user.
 ResponseList<DirectMessage> DirectMessageMethods.getDirectMessages(Paging paging)
          Returns a list of the direct messages sent to the authenticating user.
 ResponseList<Status> FavoriteMethods.getFavorites()
          Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
 ResponseList<Status> FavoriteMethods.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.
 ResponseList<Status> FavoriteMethods.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.
 ResponseList<Status> FavoriteMethods.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.
 IDs FriendsFollowersMethods.getFollowersIDs()
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs FriendsFollowersMethods.getFollowersIDs(int userId)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs FriendsFollowersMethods.getFollowersIDs(int userId, long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs FriendsFollowersMethods.getFollowersIDs(long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs FriendsFollowersMethods.getFollowersIDs(java.lang.String screenName)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs FriendsFollowersMethods.getFollowersIDs(java.lang.String screenName, long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 PagableResponseList<User> UserMethods.getFollowersStatuses()
          Returns the authenticating user's followers, each with current status inline.
 PagableResponseList<User> UserMethods.getFollowersStatuses(int userId)
          Returns the specified user's followers, each with current status inline.
 PagableResponseList<User> UserMethods.getFollowersStatuses(int userId, long cursor)
          Returns the specified user's followers, each with current status inline.
 PagableResponseList<User> UserMethods.getFollowersStatuses(long cursor)
          Returns the authenticating user's followers, each with current status inline.
 PagableResponseList<User> UserMethods.getFollowersStatuses(java.lang.String screenName)
          Returns the specified user's followers, each with current status inline.
 PagableResponseList<User> UserMethods.getFollowersStatuses(java.lang.String screenName, long cursor)
          Returns the specified user's followers, each with current status inline.
 IDs FriendsFollowersMethods.getFriendsIDs()
          Returns an array of numeric IDs for every user the authenticating user is following.
 IDs FriendsFollowersMethods.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 FriendsFollowersMethods.getFriendsIDs(int userId, long cursor)
          Returns an array of numeric IDs for every user the specified user is following.
 IDs FriendsFollowersMethods.getFriendsIDs(long cursor)
          Returns an array of numeric IDs for every user the authenticating user is following.
 IDs FriendsFollowersMethods.getFriendsIDs(java.lang.String screenName)
          Returns an array of numeric IDs for every user the specified user is following.
 IDs FriendsFollowersMethods.getFriendsIDs(java.lang.String screenName, long cursor)
          Returns an array of numeric IDs for every user the specified user is following.
 PagableResponseList<User> UserMethods.getFriendsStatuses()
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> UserMethods.getFriendsStatuses(int userId)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> UserMethods.getFriendsStatuses(int userId, long cursor)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> UserMethods.getFriendsStatuses(long cursor)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> UserMethods.getFriendsStatuses(java.lang.String screenName)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> UserMethods.getFriendsStatuses(java.lang.String screenName, long cursor)
          Returns a user's friends, each with current status inline.
 ResponseList<Status> TimelineMethods.getFriendsTimeline()
          Returns the 20 most recent statuses posted by the authenticating user and that user's friends.
 ResponseList<Status> TimelineMethods.getFriendsTimeline(Paging paging)
          Returns the 20 most recent statuses posted by the authenticating user and that user's friends.
 Place GeoMethods.getGeoDetails(java.lang.String id)
          Find out more details of a place that was returned from the GeoMethodsAsync.reverseGeoCode(twitter4j.GeoQuery) method.
 ResponseList<Status> TimelineMethods.getHomeTimeline()
          Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
 ResponseList<Status> TimelineMethods.getHomeTimeline(Paging paging)
          Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
 IDs FriendshipMethods.getIncomingFriendships(long cursor)
          Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.
 Trends LocalTrendsMethods.getLocationTrends(int woeid)
          Returns the top 10 trending topics for a specific location Twitter has trending topic information for.
 ResponseList<User> UserMethods.getMemberSuggestions(java.lang.String categorySlug)
          Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.
 ResponseList<Status> TimelineMethods.getMentions()
          Returns the 20 most recent mentions (status containing @username) for the authenticating user.
 ResponseList<Status> TimelineMethods.getMentions(Paging paging)
          Returns the 20 most recent mentions (status containing @username) for the authenticating user.
 ResponseList<Place> GeoMethods.getNearbyPlaces(GeoQuery query)
          Deprecated. Issue 1754
 IDs FriendshipMethods.getOutgoingFriendships(long cursor)
          Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
 java.lang.String LegalResources.getPrivacyPolicy()
          Returns Twitter's Privacy Policy.
 ProfileImage UserMethods.getProfileImage(java.lang.String screenName, ProfileImage.ImageSize size)
          Access the profile image in various sizes for the user with the indicated screen_name.
 ResponseList<Status> TimelineMethods.getPublicTimeline()
          Returns the 20 most recent statuses from non-protected users who have set a custom user icon.
 RateLimitStatus AccountMethods.getRateLimitStatus()
          Returns the remaining number of API requests available to the requesting user before the API limit is reached for the current hour.
 void NewTwitterMethodsAsync.getRelatedResults(long statusId)
          If available, returns an array of replies and mentions related to the specified Tweet.
 RelatedResults NewTwitterMethods.getRelatedResults(long statusId)
          If available, returns an array of replies and mentions related to the specified Tweet.
 ResponseList<User> StatusMethods.getRetweetedBy(long statusId)
          Show user objects of up to 100 members who retweeted the status.
 ResponseList<User> StatusMethods.getRetweetedBy(long statusId, Paging paging)
          Deprecated. use StatusMethods.getRetweetedBy(long) instead.
 IDs StatusMethods.getRetweetedByIDs(long statusId)
          Show user ids of up to 100 users who retweeted the status represented by id
This method calls http://api.twitter.com/1/statuses/:id/retweeted_by/ids.format
 IDs StatusMethods.getRetweetedByIDs(long statusId, Paging paging)
          Deprecated. use StatusMethods.getRetweetedByIDs(long) instead.
 ResponseList<Status> TimelineMethods.getRetweetedByMe()
          Returns the 20 most recent retweets posted by the authenticating user.
 ResponseList<Status> TimelineMethods.getRetweetedByMe(Paging paging)
          Returns the 20 most recent retweets posted by the authenticating user.
 ResponseList<Status> TimelineMethods.getRetweetedByUser(int userId, Paging paging)
          Returns the 20 most recent retweets posted by the specified user.
 ResponseList<Status> TimelineMethods.getRetweetedByUser(java.lang.String screenName, Paging paging)
          Returns the 20 most recent retweets posted by the specified user.
 ResponseList<Status> TimelineMethods.getRetweetedToMe()
          Returns the 20 most recent retweets posted by the authenticating user's friends.
 ResponseList<Status> TimelineMethods.getRetweetedToMe(Paging paging)
          Returns the 20 most recent retweets posted by the authenticating user's friends.
 ResponseList<Status> TimelineMethods.getRetweetedToUser(int userId, Paging paging)
          Returns the 20 most recent retweets posted by users the specified user follows.
 ResponseList<Status> TimelineMethods.getRetweetedToUser(java.lang.String screenName, Paging paging)
          Returns the 20 most recent retweets posted by users the specified user follows.
 ResponseList<Status> StatusMethods.getRetweets(long statusId)
          Returns up to 100 of the first retweets of a given tweet.
 ResponseList<Status> TimelineMethods.getRetweetsOfMe()
          Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
 ResponseList<Status> TimelineMethods.getRetweetsOfMe(Paging paging)
          Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
 java.util.List<SavedSearch> SavedSearchesMethods.getSavedSearches()
          Returns the authenticated user's saved search queries.
 ResponseList<DirectMessage> DirectMessageMethods.getSentDirectMessages()
          Returns a list of the direct messages sent by the authenticating user.
 ResponseList<DirectMessage> DirectMessageMethods.getSentDirectMessages(Paging paging)
          Returns a list of the direct messages sent by the authenticating user.
 SimilarPlaces GeoMethods.getSimilarPlaces(GeoLocation location, java.lang.String name, java.lang.String containedWithin, java.lang.String streetAddress)
          Locates places near the given coordinates which are similar in name.
 ResponseList<Category> UserMethods.getSuggestedUserCategories()
          Access to Twitter's suggested user list.
 java.lang.String LegalResources.getTermsOfService()
          Returns Twitter's' Terms of Service.
 Trends TrendsMethods.getTrends()
          Returns the top ten topics that are currently trending on Twitter.
 PagableResponseList<User> ListMembersMethods.getUserListMembers(java.lang.String listOwnerScreenName, int listId, long cursor)
          Returns the members of the specified list.
 PagableResponseList<UserList> ListMethods.getUserListMemberships(java.lang.String listMemberScreenName, long cursor)
          List the lists the specified user has been added to.
 PagableResponseList<UserList> ListMethods.getUserLists(java.lang.String listOwnerScreenName, long cursor)
          List the lists of the specified user.
 ResponseList<Status> ListMethods.getUserListStatuses(java.lang.String listOwnerScreenName, int id, Paging paging)
          Show tweet timeline for members of the specified list.
 PagableResponseList<User> ListSubscribersMethods.getUserListSubscribers(java.lang.String listOwnerScreenName, int listId, long cursor)
          Returns the subscribers of the specified list.
 PagableResponseList<UserList> ListMethods.getUserListSubscriptions(java.lang.String listOwnerScreenName, long cursor)
          List the lists the specified user follows.
 ResponseList<User> UserMethods.getUserSuggestions(java.lang.String categorySlug)
          Access the users in a given category of the Twitter suggested user list.
It is recommended that end clients cache this data for no more than one hour.
 ResponseList<Status> TimelineMethods.getUserTimeline()
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> TimelineMethods.getUserTimeline(int userId)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> TimelineMethods.getUserTimeline(int userId, Paging paging)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> TimelineMethods.getUserTimeline(Paging paging)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> TimelineMethods.getUserTimeline(java.lang.String screenName)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> TimelineMethods.getUserTimeline(java.lang.String screenName, Paging paging)
          Returns the 20 most recent statuses posted from the authenticating user.
 java.util.List<Trends> TrendsMethods.getWeeklyTrends()
          Returns the top 30 trending topics for each day in a given week.
 java.util.List<Trends> TrendsMethods.getWeeklyTrends(java.util.Date date, boolean excludeHashTags)
          Returns the top 30 trending topics for each day in a given week.
 ResponseList<Friendship> FriendshipMethods.lookupFriendships(int[] ids)
          Returns the relationship of the authenticating user to the specified users.
 ResponseList<Friendship> FriendshipMethods.lookupFriendships(java.lang.String[] screenNames)
          Returns the relationship of the authenticating user to the specified users.
 ResponseList<User> UserMethods.lookupUsers(int[] ids)
          Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
 ResponseList<User> UserMethods.lookupUsers(java.lang.String[] screenNames)
          Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
 void SpamReportingMethodsAsync.reportSpam(int userId)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 User SpamReportingMethods.reportSpam(int userId)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 void SpamReportingMethodsAsync.reportSpam(java.lang.String screenName)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 User SpamReportingMethods.reportSpam(java.lang.String screenName)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 Status StatusMethods.retweetStatus(long statusId)
          Retweets a tweet.
 ResponseList<Place> GeoMethods.reverseGeoCode(GeoQuery query)
          Search for places (cities and neighborhoods) that can be attached to a statuses/update.
 QueryResult SearchMethods.search(Query query)
          Returns tweets that match a specified query.
 ResponseList<Place> GeoMethods.searchPlaces(GeoQuery query)
          Search for places that can be attached to a statuses/update.
 ResponseList<User> UserMethods.searchUsers(java.lang.String query, int page)
          Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API.
Usage note: It is only possible to retrieve the first 1000 matches from this API.
 DirectMessage DirectMessageMethods.sendDirectMessage(int userId, java.lang.String text)
          Sends a new direct message to the specified user from the authenticating user.
 DirectMessage DirectMessageMethods.sendDirectMessage(java.lang.String screenName, java.lang.String text)
          Sends a new direct message to the specified user from the authenticating user.
 DirectMessage DirectMessageMethods.showDirectMessage(long id)
          Returns a single direct message, specified by an id parameter.
 Relationship FriendshipMethods.showFriendship(int sourceId, int targetId)
          Returns detailed information about the relationship between two users.
 Relationship FriendshipMethods.showFriendship(java.lang.String sourceScreenName, java.lang.String targetScreenName)
          Returns detailed information about the relationship between two users.
 SavedSearch SavedSearchesMethods.showSavedSearch(int id)
          Retrieve the data for a saved search owned by the authenticating user specified by the given id.
 Status StatusMethods.showStatus(long id)
          Returns a single status, specified by the id parameter below.
 User UserMethods.showUser(int userId)
          Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
 User UserMethods.showUser(java.lang.String screenName)
          Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
 UserList ListMethods.showUserList(java.lang.String listOwnerScreenName, int id)
          Show the specified list.
 UserList ListSubscribersMethods.subscribeUserList(java.lang.String listOwnerScreenName, int listId)
          Make the authenticated user follow the specified list.
 boolean HelpMethods.test()
          Returns the string "ok" in the requested format with a 200 OK HTTP status code.
 UserList ListSubscribersMethods.unsubscribeUserList(java.lang.String listOwnerScreenName, int listId)
          Unsubscribes the authenticated user form the specified list.
 Relationship FriendshipMethods.updateFriendship(int userId, boolean enableDeviceNotification, boolean retweets)
          Allows you to enable or disable retweets and device notifications from the specified user.
 Relationship FriendshipMethods.updateFriendship(java.lang.String screenName, boolean enableDeviceNotification, boolean retweets)
          Allows you to enable or disable retweets and device notifications from the specified user.
 User AccountMethods.updateProfile(java.lang.String name, 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 AccountMethods.updateProfile(java.lang.String name, java.lang.String email, java.lang.String url, java.lang.String location, java.lang.String description)
          Deprecated. use AccountMethods.updateProfile(String, String, String, String) instead
 User AccountMethods.updateProfileBackgroundImage(java.io.File image, boolean tile)
          Updates the authenticating user's profile background image.
 User AccountMethods.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.
 User AccountMethods.updateProfileImage(java.io.File image)
          Updates the authenticating user's profile image.
 Status StatusMethods.updateStatus(StatusUpdate latestStatus)
          Updates the authenticating user's status.
 Status StatusMethods.updateStatus(java.lang.String status)
          Updates the authenticating user's status.
 Status StatusMethods.updateStatus(java.lang.String status, GeoLocation location)
          Deprecated. use StatusMethods.updateStatus(StatusUpdate) instead.
 Status StatusMethods.updateStatus(java.lang.String status, long inReplyToStatusId)
          Deprecated. use StatusMethods.updateStatus(StatusUpdate) instead.
 Status StatusMethods.updateStatus(java.lang.String status, long inReplyToStatusId, GeoLocation location)
          Deprecated. use StatusMethods.updateStatus(StatusUpdate) instead.
 UserList ListMethods.updateUserList(int listId, java.lang.String newListName, boolean isPublicList, java.lang.String newDescription)
          Updates the specified list.
 User AccountMethods.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.
 

Uses of TwitterException in twitter4j.http
 

Methods in twitter4j.http that throw TwitterException
 AccessToken RequestToken.getAccessToken()
          Deprecated. Use TwitterOAuthSupportBaseImpl.getOAuthAccessToken() instead
 AccessToken RequestToken.getAccessToken(java.lang.String oauth_verifier)
          Deprecated. Use TwitterOAuthSupportBaseImpl.getOAuthAccessToken() instead
 AccessToken OAuthSupport.getOAuthAccessToken()
          Returns an access token associated with this instance.
If no access token is associated with this instance, this will retrieve a new access token.
 AccessToken OAuthAuthorization.getOAuthAccessToken()
          Returns an access token associated with this instance.
If no access token is associated with this instance, this will retrieve a new access token.
 AccessToken OAuthSupport.getOAuthAccessToken(RequestToken requestToken)
          Retrieves an access token associated with the supplied request token and sets userId.
 AccessToken OAuthAuthorization.getOAuthAccessToken(RequestToken requestToken)
          Retrieves an access token associated with the supplied request token and sets userId.
 AccessToken OAuthSupport.getOAuthAccessToken(RequestToken requestToken, java.lang.String oauthVerifier)
          Retrieves an access token associated with the supplied request token and sets userId.
 AccessToken OAuthAuthorization.getOAuthAccessToken(RequestToken requestToken, java.lang.String oauthVerifier)
          Retrieves an access token associated with the supplied request token and sets userId.
 AccessToken OAuthSupport.getOAuthAccessToken(java.lang.String oauthVerifier)
          Retrieves an access token.
 AccessToken OAuthAuthorization.getOAuthAccessToken(java.lang.String oauthVerifier)
          Retrieves an access token.
 AccessToken OAuthSupport.getOAuthAccessToken(java.lang.String screenName, java.lang.String password)
          Retrieves an access token associated with the supplied screen name and password using xAuth.
In order to get access acquire AccessToken using xAuth, you must apply by sending an email to api@twitter.com — all other applications will receive an HTTP 401 error.
 AccessToken OAuthAuthorization.getOAuthAccessToken(java.lang.String screenName, java.lang.String password)
          Retrieves an access token associated with the supplied screen name and password using xAuth.
In order to get access acquire AccessToken using xAuth, you must apply by sending an email to api@twitter.com — all other applications will receive an HTTP 401 error.
 RequestToken OAuthSupport.getOAuthRequestToken()
          Retrieves a request token
 RequestToken OAuthAuthorization.getOAuthRequestToken()
          Retrieves a request token
 RequestToken OAuthSupport.getOAuthRequestToken(java.lang.String callbackURL)
          Retrieves a request token
 RequestToken OAuthAuthorization.getOAuthRequestToken(java.lang.String callbackURL)
          Retrieves a request token
 

Uses of TwitterException in twitter4j.json
 

Methods in twitter4j.json that throw TwitterException
static AccountTotals DataObjectFactory.createAccountTotals(java.lang.String rawJSON)
          Constructs an AccountTotals object from rawJSON string.
static Category DataObjectFactory.createCategory(java.lang.String rawJSON)
          Constructs a Category object from rawJSON string.
static DirectMessage DataObjectFactory.createDirectMessage(java.lang.String rawJSON)
          Constructs a DirectMessage object from rawJSON string.
static IDs DataObjectFactory.createIDs(java.lang.String rawJSON)
          Constructs a IDs object from rawJSON string.
static Location DataObjectFactory.createLocation(java.lang.String rawJSON)
          Constructs a Location object from rawJSON string.
static java.lang.Object DataObjectFactory.createObject(java.lang.String rawJSON)
          Construct an object from rawJSON string.
static Place DataObjectFactory.createPlace(java.lang.String rawJSON)
          Constructs a Place object from rawJSON string.
static RateLimitStatus DataObjectFactory.createRateLimitStatus(java.lang.String rawJSON)
          Constructs a RateLimitStatus object from rawJSON string.
static RelatedResults DataObjectFactory.createRelatedResults(java.lang.String rawJSON)
          Constructs a RelatedResults object from rawJSON string.
static Relationship DataObjectFactory.createRelationship(java.lang.String rawJSON)
          Constructs a Relationship object from rawJSON string.
static SavedSearch DataObjectFactory.createSavedSearch(java.lang.String rawJSON)
          Constructs a SavedSearch object from rawJSON string.
static Status DataObjectFactory.createStatus(java.lang.String rawJSON)
          Constructs a Status object from rawJSON string.
static Trend DataObjectFactory.createTrend(java.lang.String rawJSON)
          Constructs a Trend object from rawJSON string.
static Trends DataObjectFactory.createTrends(java.lang.String rawJSON)
          Constructs a Trends object from rawJSON string.
static Tweet DataObjectFactory.createTweet(java.lang.String rawJSON)
          Constructs a Tweet object from rawJSON string.
static User DataObjectFactory.createUser(java.lang.String rawJSON)
          Constructs a User object from rawJSON string.
static UserList DataObjectFactory.createUserList(java.lang.String rawJSON)
          Constructs a UserList object from rawJSON string.
 

Uses of TwitterException in twitter4j.util
 

Methods in twitter4j.util that throw TwitterException
static ImageUpload ImageUpload.getTwitpicUploader(Twitter twitter)
          Deprecated. use twitter4j.media.ImageUploaderFactory#getInstance() instead
static ImageUpload ImageUpload.getYFrogUploader(Twitter twitter)
          Deprecated. use twitter4j.media.ImageUploaderFactory#getInstance() instead
abstract  java.lang.String ImageUpload.upload(java.io.File image)
          Deprecated.  
 java.lang.String ImageUpload.TweetPhotoOAuthUploader.upload(java.io.File image)
           
 java.lang.String ImageUpload.ImgLyOAuthUploader.upload(java.io.File image)
           
 java.lang.String ImageUpload.TwitgooOAuthUploader.upload(java.io.File image)
           
abstract  java.lang.String ImageUpload.upload(java.io.File image, java.lang.String message)
          Deprecated.  
 java.lang.String ImageUpload.TweetPhotoOAuthUploader.upload(java.io.File image, java.lang.String message)
           
 java.lang.String ImageUpload.ImgLyOAuthUploader.upload(java.io.File image, java.lang.String message)
           
 java.lang.String ImageUpload.TwitgooOAuthUploader.upload(java.io.File image, java.lang.String message)
           
abstract  java.lang.String ImageUpload.upload(java.lang.String imageFileName, java.io.InputStream imageBody)
          Deprecated.  
 java.lang.String ImageUpload.TweetPhotoOAuthUploader.upload(java.lang.String imageFileName, java.io.InputStream imageBody)
           
 java.lang.String ImageUpload.ImgLyOAuthUploader.upload(java.lang.String imageFileName, java.io.InputStream imageBody)
           
 java.lang.String ImageUpload.TwitgooOAuthUploader.upload(java.lang.String imageFileName, java.io.InputStream imageBody)
           
abstract  java.lang.String ImageUpload.upload(java.lang.String imageFileName, java.io.InputStream imageBody, java.lang.String message)
          Deprecated.  
 java.lang.String ImageUpload.TweetPhotoOAuthUploader.upload(java.lang.String imageFileName, java.io.InputStream imageBody, java.lang.String message)
           
 java.lang.String ImageUpload.ImgLyOAuthUploader.upload(java.lang.String imageFileName, java.io.InputStream imageBody, java.lang.String message)
           
 java.lang.String ImageUpload.TwitgooOAuthUploader.upload(java.lang.String imageFileName, java.io.InputStream imageBody, java.lang.String message)
           
 



Copyright © 2011. All Rights Reserved.