Deprecated API


Contents
Deprecated Classes
winterwell.jtwitter.UserStream
          There are bugs on Twitter's end -- the messages returned by this stream may not include all the messages to a user. The results vary from user to user!

Connect to the streaming API.

This class picks up the following tweets:
- Tweets by you
- Tweets that mention you
- Tweets by people you follow IF UserStream.setWithFollowings(boolean) is true.
- Retweets of your messages.
- Retweets made by you.

Duplicate messages may be delivered when reconnecting to the Streaming API. TODO test out url-signing over header-signing -- c.f. http://groups .google.com/group/twitter-development-talk/browse_thread /thread/420c4b555198aa6c/f85e2507b7f65e39?pli=1 "figured it out on my own. must use HTTP GET with OAuth params passed in URI string. Not mentioned in the documentation. Wasted many hours figuring out this stuff would be clarified if someone updated the docs and made some examples." 

 

Deprecated Methods
winterwell.jtwitter.OAuthSignpostClient.authorizeDesktop()
           
winterwell.jtwitter.Twitter.befriend(String)
          Use Twitter.follow(String) instead, which is equivalent. 
winterwell.jtwitter.Twitter.breakFriendship(String)
          Please use Twitter.stopFollowing(String) instead. 
winterwell.jtwitter.Twitter.bulkShow(List)
          Use Twitter_Users.show(List) instead 
winterwell.jtwitter.Twitter.bulkShowById(List)
          Use #showById(List) instead 
winterwell.jtwitter.Twitter.destroyStatus(Status)
          in favour of Twitter.destroy(ITweet). This method will be removed by the end of 2010. 
winterwell.jtwitter.Twitter.follow(String)
           
winterwell.jtwitter.Twitter.follow(User)
           
winterwell.jtwitter.Twitter.getFollowerIDs()
           
winterwell.jtwitter.Twitter.getFollowerIDs(String)
           
winterwell.jtwitter.Twitter.getFollowers()
           
winterwell.jtwitter.Twitter_Users.getFollowers()
          Twitter advise using Twitter_Users.getFollowerIDs() and Twitter_Users.show(Number) 
winterwell.jtwitter.Twitter.getFollowers(String)
           
winterwell.jtwitter.Twitter.getFriendIDs()
           
winterwell.jtwitter.Twitter.getFriendIDs(String)
           
winterwell.jtwitter.Twitter.getFriends()
           
winterwell.jtwitter.Twitter_Users.getFriends()
          Twitter advise you to use Twitter_Users.getFriendIDs() with Twitter_Users#showById(List) instead. 
winterwell.jtwitter.Twitter.getFriends(String)
           
winterwell.jtwitter.Twitter.getFriendsTimeline()
          Replaced by Twitter.getHomeTimeline() 
winterwell.jtwitter.Twitter.getRelated(Twitter.ITweet)
           
winterwell.jtwitter.Twitter.getReplies()
          Use #getMentions() for preference 
winterwell.jtwitter.Twitter.getUser(long)
           
winterwell.jtwitter.Twitter.getUser(String)
           
winterwell.jtwitter.Twitter.getUserTimelineWithRetweets(String)
          Use Twitter.setIncludeRTs(boolean) instead to control retweet behaviour. Returns the most recent statuses posted by the given user. Unlike Twitter.getUserTimeline(String), this includes new-style retweets.

This will return 20 by default, though Twitter.setMaxResults(int) can be used to fetch multiple pages. There is a cap of 3200 tweets - this is the farthest back you can go down a user timeline!

This method will authenticate if it can (i.e. if the Twitter object has a username and password). Authentication is needed to see the posts of a private user. 

winterwell.jtwitter.Twitter.isFollower(String)
           
winterwell.jtwitter.Twitter.isFollower(String, String)
           
winterwell.jtwitter.Twitter.isFollowing(String)
           
winterwell.jtwitter.Twitter.isFollowing(User)
           
winterwell.jtwitter.Twitter.searchUsers(String)
           
winterwell.jtwitter.TwitterStream.setLocation(List)
           
winterwell.jtwitter.AStream.setPreviousCount(int)
          Twitter need to fix this :( 
winterwell.jtwitter.Twitter.setSinceDate(Date)
           
winterwell.jtwitter.OAuthScribeClient.setTimeout(int)
           
winterwell.jtwitter.Twitter.setUntilDate(Date)
           
winterwell.jtwitter.Twitter.show(Number)
           
winterwell.jtwitter.Twitter.show(String)
           
winterwell.jtwitter.Twitter.stopFollowing(String)
           
winterwell.jtwitter.Twitter.stopFollowing(User)
           
winterwell.jtwitter.Twitter.updateStatus(String, File, BigInteger)
          Still developing! Updates the authenticating user's status with an image (or other media file / attachment). 
 

Deprecated Constructors
winterwell.jtwitter.Status(User, String, Number, Date)
           
winterwell.jtwitter.Twitter(String, String)
           
winterwell.jtwitter.TwitterList(String, String, Twitter)
          Due to the potential for confusion with TwitterList.TwitterList(String, Twitter, boolean, String) Use TwitterList.get(String, String, Twitter) instead.