← All Templates

Tweet Screenshot

Generate customizable screenshots dynamically from Tweet URL or ID

Template Meta

TypeSupported FormatsSupported Types
Library Template
png
jpg
jpeg
webp
pdf
base64
url
binary

Integrations

Automate this template using integrations

Figma

Figma

Rest API

Rest API

Signed URLs

Signed URLs

Backend Usage

You can generate Tweet Screenshot renders using Rest API and Orshot SDKs

Modifications

You can customize the template using following modifications

KeyDescriptionType
tweetUrl
Link to tweet, cannot be used together with tweetId
url
tweetId
Tweet's ID, cannot be used with tweetUrl
string
tweetFontSize
Font size for tweet text in CSS REM value
number
tweetBackgroundColor
Tweet Background color
string
tweetTextColor
Tweet Text color
string
showRepliedToTweet
Whether to show the replied to tweet, if tweet is a reply(uses 2 extra renders)
boolean
hideHeader
Whether to hide or show the header section, includes profile photo, name and username
boolean
hideMetrics
Whether to hide the tweet metrics
boolean
hideVerifiedIcon
Whether to hide or show verified icon
boolean
hideQuoteTweet
Control if you want to show the quoted tweet
boolean
hideDateTime
Hide date and time of tweet
boolean
hideMedia
Hide tweet images
boolean
hideShadow
Hide shadow behind tweet box
boolean
backgroundColor
Hex or CSS color of background
string
backgroundImageUrl
Link to background image
string
padding
Padding(in pixels value) around the tweet box
number
width
Max width of output image
number
Tweet Screenshot

More Templates