Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreatedAt() |
java.lang.String |
getDisplayText() |
java.math.BigInteger |
getId()
Twitter IDs are numbers - but they can exceed the range of Java's
signed long.
|
java.lang.String |
getLocation() |
java.util.List<java.lang.String> |
getMentions() |
Place |
getPlace() |
java.lang.String |
getText()
The actual status text.
|
java.util.List<Twitter.TweetEntity> |
getTweetEntities(Twitter.KEntityType type)
Twitter wrap urls with their own url-shortener (as a defence against
malicious tweets).
|
User |
getUser()
The User who made the tweet
|
java.util.Date getCreatedAt()
java.math.BigInteger getId()
java.lang.String getLocation()
Note: This will be set if Twitter supply any geo-information. We extract a location from geo and place objects.
java.util.List<java.lang.String> getMentions()
Message.getRecipient()
.
Notes: This method is in ITweet as a convenience to allow the same code to process both Statuses and Messages where possible. It would be better named "getRecipients()", but for historical reasons it isn't.
Place getPlace()
java.lang.String getText()
Twitter.toString()
java.util.List<Twitter.TweetEntity> getTweetEntities(Twitter.KEntityType type)
Entity support is off by default. Request entity support by setting
Twitter.setIncludeTweetEntities(boolean)
. Twitter do NOT
support entities for search :(
type
- urls, user_mentions, or hashtagsUser getUser()
java.lang.String getDisplayText()