public class TwitLonger
extends java.lang.Object
Constructor and Description |
---|
TwitLonger()
Read only access for lengthening tweets
|
TwitLonger(Twitter jtwitter,
java.lang.String twitlongerApiKey,
java.lang.String twitlongerAppName)
Read/write access
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLongStatus(Status truncatedStatus) |
Status |
updateLongStatus(java.lang.String message,
java.lang.Number inReplyToStatusId)
Use twitlonger.com to post a lengthy tweet.
|
public TwitLonger()
public TwitLonger(Twitter jtwitter, java.lang.String twitlongerApiKey, java.lang.String twitlongerAppName)
jtwitter
- twitlongerApiKey
- twitlongerAppName
- public Status updateLongStatus(java.lang.String message, java.lang.Number inReplyToStatusId)
message
- Must be > 140 charsinReplyToStatusId
- Can be null if this isn't a replypublic java.lang.String getLongStatus(Status truncatedStatus)
truncatedStatus
- If this is a twitlonger.com truncated status, then call
twitlonger to fetch the full text.