Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 4.81 KB

File metadata and controls

35 lines (30 loc) · 4.81 KB

UserTweetItem

Example Usage

import { UserTweetItem } from "@twexapi-dev/x-api-scraper/models";

let value: UserTweetItem = {
  tweetId: "<id>",
};

Fields

Field Type Required Description
tweetId string ✔️ Tweet ID
isPaidPromotion boolean Whether the tweet is associated with a paid promotion
fullText string Tweet text
createdAt string Tweet creation time
lang string Tweet language
conversationId string Conversation ID
bookmarkCount number Bookmark count
favoriteCount number Like count
replyCount number Reply count
retweetCount number Retweet count
quoteCount number Quote count
viewCount string View count
viewCountState string View count state
authorUserId string Author user ID
authorScreenName string Author screen name
authorName string Author display name
authorIsBlueVerified boolean Blue verification flag
authorVerified boolean Legacy verification flag
authorIsVerifiedOrganizationAffiliate boolean Verified organization affiliate flag