- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
Tweet
- Type
 - 
String
 - Description
 - 
The URL to an image/icon of the author of the tweet. Use this or
author, but not both. - Tags
 - 
TweetSchema.authorIcon 
- Type
 - 
String
 - Description
 - 
The ID of the author of the tweet. Use this or
author, but not both. - Tags
 - 
TweetSchema.authorId 
- Type
 - 
int
 - Description
 - 
The number of "likes" the tweet has received.
 - Tags
 - 
TweetSchema.numLikes 
- Type
 - 
int
 - Description
 - 
The number of replies the tweet has received.
 - Tags
 - 
TweetSchema.numReplies 
- Type
 - 
int
 - Description
 - 
The number of times this tweet has been retweeted.
 - Tags
 - 
TweetSchama.numRetweets 
- Type
 - 
String
 - Description
 - 
If this tweet includes a link to a webpage, this can contain its URL.
 - Tags
 - 
TweetSchema.link 
- Type
 - 
String
 - Description
 - 
If this tweet includes an image, this can contain its URL.
 - Tags
 - 
TweetSchema.image 
- Type
 - 
String
 - Description
 - 
Text describing the link if a link is included.
 - Tags
 - 
TweetSchema.linkSubject 
- Type
 - 
Tweet
 - Description
 - 
If this tweet is in reply to another tweet, this is a reference to that tweet.
 - Tags
 - 
TweetSchema.inReplyTo 
- Type
 - 
String
 - Description
 - 
If this tweet originated from some site, this may contain the sites name.
 - Tags
 - 
TweetSchema.subscriptionSource 
Use the TweetImpl class to create instances of this entity.
E.g.
Tweet tweet = new TweetImpl();
tweet.setText("Hello World");
tweet.setDatePosted(someDate);
tweet.setImage("https://exmaple.com/path/to/image.png");
... etc ...You can also "wrap" other entities with compatible properties (i.e. properties that are tagged with the same tags as corresponding properties in Tweet) to use the Tweet API on them.
Tweet tweet = TweetWrapper.wrap(someEntity);
String text = tweet.getText();
... etc ...