Uses of Class
twitter4j.TwitterException

Packages that use TwitterException
twitter4j   
twitter4j.api   
twitter4j.auth   
twitter4j.json   
 

Uses of TwitterException in twitter4j
 

Methods in twitter4j that throw TwitterException
 long TwitterBase.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.
 java.lang.String TwitterBase.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.
 

Uses of TwitterException in twitter4j.api
 

Methods in twitter4j.api that throw TwitterException
 UserList ListMembersMethods.addUserListMember(int listId, long userId)
          Adds a member to a list.
 UserList ListMembersMethods.addUserListMembers(int listId, long[] 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, long 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, long userId)
          Check if the specified user is a subscriber of the specified list.
 User BlockMethods.createBlock(long 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(long 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(long 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, long userId)
          Removes the specified member from the list.
 User BlockMethods.destroyBlock(long 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(long 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(long 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(long 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(long 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(long 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(long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs FriendsFollowersMethods.getFollowersIDs(long userId, long cursor)
          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(long cursor)
          Returns the authenticating user's followers, each with current status inline.
 PagableResponseList<User> UserMethods.getFollowersStatuses(long userId, long cursor)
          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(long cursor)
          Returns an array of numeric IDs for every user the authenticating user is following.
 IDs FriendsFollowersMethods.getFriendsIDs(long userId, long cursor)
          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(long cursor)
          Returns a user's friends, each with current status inline.
 PagableResponseList<User> UserMethods.getFriendsStatuses(long userId, long cursor)
          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 GeoMethods.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.
 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.
 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.
 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
 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(long 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(long 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(long listOwnerId, int listId, long cursor)
          Returns the members of the specified list.
 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(long listOwnerId, int id, Paging paging)
          Show tweet timeline for members of the specified list.
 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(long userId)
          Returns the 20 most recent statuses posted from the authenticating user.
 ResponseList<Status> TimelineMethods.getUserTimeline(long 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(long[] 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(long[] 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.
 User SpamReportingMethods.reportSpam(long userId)
          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(long 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(long sourceId, long 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(long 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(long 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.updateProfileBackgroundImage(java.io.File image, boolean tile)
          Updates the authenticating user's profile background image.
 User AccountMethods.updateProfileBackgroundImage(java.io.InputStream 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.
 User AccountMethods.updateProfileImage(java.io.InputStream 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.
 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.auth
 

Methods in twitter4j.auth that throw TwitterException
 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.
 



Copyright © 2011. All Rights Reserved.