Serialized Form


Package winterwell.jtwitter

Class winterwell.jtwitter.AStream.Outage extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

sinceId

java.math.BigInteger sinceId

untilTime

long untilTime

Class winterwell.jtwitter.Message extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

createdAt

java.util.Date createdAt

entities

java.util.EnumMap<K extends java.lang.Enum<K>,V> entities

id

java.lang.Long id

inReplyToMessageId

java.lang.Number inReplyToMessageId
Equivalent to Status.inReplyToStatusId *but null by default*. If you want to use this, you must set it yourself. The field is just a convenient storage place. Strangely Twitter don't report the previous ID for messages.


location

java.lang.String location

place

Place place

recipient

User recipient

sender

User sender

text

java.lang.String text

Class winterwell.jtwitter.OAuthHttpClient extends java.lang.Object implements Serializable

Class winterwell.jtwitter.OAuthSignpostClient extends URLConnectionHttpClient implements Serializable

serialVersionUID: 1L

Serialized Fields

accessToken

java.lang.String accessToken

accessTokenSecret

java.lang.String accessTokenSecret

callbackUrl

java.lang.String callbackUrl

consumer

OAuthConsumer consumer

consumerKey

java.lang.String consumerKey

consumerSecret

java.lang.String consumerSecret

provider

DefaultOAuthProvider provider

Class winterwell.jtwitter.Place extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

boundingBox

java.util.List<E> boundingBox

country

java.lang.String country

countryCode

java.lang.String countryCode

geometry

java.util.List<E> geometry

id

java.lang.String id

name

java.lang.String name

type

java.lang.String type

Class winterwell.jtwitter.Status extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

createdAt

java.util.Date createdAt

entities

java.util.EnumMap<K extends java.lang.Enum<K>,V> entities

favorited

boolean favorited

id

java.math.BigInteger id
Warning: use equals() not == to compare these!


inReplyToStatusId

java.math.BigInteger inReplyToStatusId
Often null (even when this Status is a reply). This is the in-reply-to status id as reported by Twitter.


location

java.lang.String location

original

Status original
null, except for official retweets when this is the original retweeted Status.


place

Place place

retweetCount

int retweetCount
Represents the number of times a status has been retweeted using _new-style_ retweets. -1 if unknown.


sensitive

boolean sensitive

source

java.lang.String source
E.g. "web" vs. "im"

"fake" if this Status was made locally or from an RSS feed rather than retrieved from Twitter json (as normal).


text

java.lang.String text
The actual status text.


user

User user
Rarely null.

When can this be null?
- If creating a "fake" tweet via Status#Status(User, String, long, Date) and supplying a null User!

Class winterwell.jtwitter.Twitter extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

count

java.lang.Integer count
TODO merge with Twitter.maxResults??


geocode

java.lang.String geocode
Used by search


http

Twitter.IHttpClient http

includeRTs

boolean includeRTs

lang

java.lang.String lang

maxId

java.math.BigInteger maxId

maxResults

int maxResults
Provides support for fetching many pages


myLatLong

double[] myLatLong

name

java.lang.String name
Twitter login name. Can be null even if we have authentication when using OAuth.


pageNumber

java.lang.Integer pageNumber
Gets used once then reset to null by Twitter.addStandardishParameters(Map). Gets updated in the while loops of methods doing a get-all-pages.


resultType

java.lang.String resultType

self

User self
The user. Can be null. Can be a "fake-user" (screenname-only) object.


sinceDate

java.util.Date sinceDate

sinceId

java.lang.Number sinceId

sourceApp

java.lang.String sourceApp

tweetEntities

boolean tweetEntities

twitlongerApiKey

java.lang.String twitlongerApiKey

twitlongerAppName

java.lang.String twitlongerAppName

TWITTER_URL

java.lang.String TWITTER_URL
Change this to access sites other than Twitter that support the Twitter API.
Note: Does not include the final "/"


untilDate

java.util.Date untilDate

untilId

java.lang.Number untilId

Class winterwell.jtwitter.Twitter.TweetEntity extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

display

java.lang.String display

end

int end
end of the entity in the contents String, exclusive


start

int start
start of the entity in the contents String, inclusive


tweet

Twitter.ITweet tweet

type

Twitter.KEntityType type

Class winterwell.jtwitter.TwitterException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

additionalInfo

java.lang.String additionalInfo

Class winterwell.jtwitter.TwitterException.AccessLevel extends TwitterException.E401 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.BadParameter extends TwitterException.E403 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E401 extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E403 extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E404 extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E406 extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E40X extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E413 extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E416 extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.E50X extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.FollowerLimit extends TwitterException.E403 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.IO extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.Parsing extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.RateLimit extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.Repetition extends TwitterException.E403 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.SuspendedUser extends TwitterException.E403 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.Timeout extends TwitterException.E50X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.TooManyLogins extends TwitterException.E40X implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.TooRecent extends TwitterException.E403 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.TwitLongerException extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.Unexplained extends TwitterException implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.TwitterException.UpdateToOAuth extends TwitterException.E401 implements Serializable

serialVersionUID: 1L

Class winterwell.jtwitter.URLConnectionHttpClient extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

headers

java.util.Map<K,V> headers

minRateLimit

int minRateLimit

name

java.lang.String name

password

java.lang.String password

rateLimits

java.util.Map<K,V> rateLimits

retryOnError

boolean retryOnError
If true, will wait 1/2 second and make a 2nd request when presented with a server error (E50X). Only retries once -- a 2nd fail will throw an exception. This policy handles most Twitter server glitches.


timeout

int timeout

htmlImpliesError

boolean htmlImpliesError

Class winterwell.jtwitter.User extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

createdAt

java.util.Date createdAt

description

java.lang.String description

favoritesCount

int favoritesCount

followedByYou

java.lang.Boolean followedByYou

followersCount

int followersCount

followingYou

java.lang.Boolean followingYou

followRequestSent

boolean followRequestSent
True if the authenticated user has requested to follow this user. This will be false unless the friendship request is pending. False if Twitter does not say otherwise.


friendsCount

int friendsCount
The number of people this user is following.

"following count" would be a better name, but historically Twitter calls this "friends count".


id

java.lang.Long id

lang

java.lang.String lang

listedCount

int listedCount
The number of public lists a user is listed in. -1 if unknown.


location

java.lang.String location
The location, as reported by the user. Can be metaphorical, e.g. "close to your heart"), or null; never blank. UberTwitter & similar lat/long references will be normalised using InternalUtils.latLongLocn.


name

java.lang.String name
The display name, e.g. "Daniel Winterstein"


notifications

boolean notifications

place

Place place

profileBackgroundColor

java.lang.String profileBackgroundColor

profileBackgroundImageUrl

java.net.URI profileBackgroundImageUrl

profileBackgroundTile

boolean profileBackgroundTile

profileImageUrl

java.net.URI profileImageUrl
The url for the user's Twitter profile picture.

Note: we allow this to be edited as a convenience for the User objects generated by search


profileLinkColor

java.lang.String profileLinkColor

profileSidebarBorderColor

java.lang.String profileSidebarBorderColor

profileSidebarFillColor

java.lang.String profileSidebarFillColor

profileTextColor

java.lang.String profileTextColor

protectedUser

boolean protectedUser
true if this user keeps their updates private


screenName

java.lang.String screenName
The login name, e.g. "winterstein" This is the only thing used by equals() and hashcode(). This is always lower-case, as Twitter screen-names are case insensitive, *unless* you set Twitter.CASE_SENSITIVE_SCREENNAMES


status

Status status
The user's current status - *if* returned by Twitter. Not all calls return this, so can be null.


statusesCount

int statusesCount

timezone

java.lang.String timezone

timezoneOffSet

double timezoneOffSet
Number of seconds between a user's registered time zone and Greenwich Mean Time (GMT) - aka Coordinated Universal Time or UTC. Can be positive or negative.


verified

boolean verified

website

java.net.URI website