Skip to content

Latest commit

 

History

History
56 lines (53 loc) · 19 KB

File metadata and controls

56 lines (53 loc) · 19 KB

TweetModel

Fields

Field Type Required Description Example
tweetId string ✔️ The unique identifier for the Tweet 1803006263529541838
isPaidPromotion ?bool Indicates whether the content or user is associated with a paid promotion true
text string ✔️ The actual text content of the Tweet
createdAt ?string The date and time the Tweet was created Mon Jun 17 03:51:48 +0000 2024
createdAtDatetime ?string The ISO 8601 format of the creation date 2024-06-17T03:51:48.000Z
bookmarkCount ?int Number of times the Tweet has been bookmarked
bookmarked ?bool Indicates if the authenticating user has bookmarked this Tweet
communityNote ?string Community note associated with the Tweet
editTweetIds array<string> A list of Tweet IDs for each edit of the Tweet
editableUntilMsecs ?string Timestamp for when the Tweet is no longer editable
editsRemaining ?string Number of edits remaining for the Tweet
favoriteCount ?int Number of likes (favorites) for the Tweet
favorited ?bool Indicates if the authenticating user has liked this Tweet
fullText ?string The full text of the Tweet, especially for extended tweets
hasCard ?bool Indicates if the Tweet has a card attached
hasCommunityNotes ?bool Indicates if the Tweet has community notes
hashtags array<string> A list of hashtags mentioned in the Tweet [
"AI",
"Python"
]
cashtags array<string> A list of cashtags (stock symbols) mentioned in the Tweet [
"$TSLA"
]
id ?string The unique identifier for the Tweet (same as tweet_id)
inReplyTo ?string ID of the Tweet this is a reply to
inReplyToUserId ?string ID of the user this is a reply to
inReplyToScreenName ?string Screen name of the user this is a reply to
isEditEligible ?bool Indicates if the Tweet is eligible for editing
isQuoteStatus ?bool Indicates if this Tweet is a quote of another Tweet
quotedStatusIdStr ?string The unique identifier for the Tweet that this is a quote of
isTranslatable ?bool Indicates if the Tweet is translatable
lang ?string The BCP 47 language identifier for the Tweet's content en
media array<Components\MediaModel> A list of media objects (photos, videos) attached to the Tweet
place ?string The location associated with the Tweet
poll ?string A poll attached to the Tweet
possiblySensitive ?bool Indicates if the Tweet may contain sensitive content
possiblySensitiveEditable ?bool Indicates if the sensitive content flag is editable
quote ?Components\TweetModel The Tweet object being quoted
quoteCount ?int Number of times this Tweet has been quoted
relatedTweets array<Components\TweetModel> A list of related Tweets
replies array<Components\TweetModel> A list of replies to this Tweet
replyCount ?int Number of replies to this Tweet
replyTo ?Components\TweetModel The Tweet object this is a reply to
retweetCount ?int Number of times this Tweet has been retweeted
retweetedTweet ?Components\TweetModel The original Tweet object if this is a retweet
thread array<Components\TweetModel> The conversation thread ID
thumbnailTitle ?string Title for the thumbnail in a card
thumbnailUrl ?string URL for the thumbnail in a card
urls array<string> A list of URLs included in the Tweet
user ?Components\UserModel The user who posted the Tweet
viewCount ?string Number of views for the Tweet
viewCountState ?string State of the view count
status array<string, mixed> Raw status dictionary
targetCount ?int The target count of items requested, for context