TwitterShots
twittershotsTwitterShots renders public X posts as screenshots and retrieves tweet content and API usage.
Acciones disponibles (5)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Generate Temporary Screenshot URLTWITTERSHOTS_GENERATE_TEMPORARY_SCREENSHOT_URLAcciónRender a public tweet or post and return a provider-hosted temporary URL. Download the result promptly or use Generate Tweet Screenshot when it must be retained. A successful render consumes one API credit.
TWITTERSHOTS_GENERATE_TEMPORARY_SCREENSHOT_URLAcciónRender a public tweet or post and return a provider-hosted temporary URL. Download the result promptly or use Generate Tweet Screenshot when it must be retained. A successful render consumes one API credit.
Parámetros de entrada
logostringenumLogo displayed on the rendered post.
xbluebirdnonethemestringenumLight or dark tweet color theme.
lightdarkwidthintegerTweet content-area width in pixels (300-1000).
formatstringenumHosted render format. SVG is verified; PNG and HTML are documented but unverified.
svgpnghtmlheightanyTweet content-area height in pixels, or 'auto' to fit the content.
tweet_idstringObligatorioNumeric tweet/status ID or full public tweet/post status URL.
show_mediabooleanRender attached images and videos.
show_statsbooleanShow reply, repost, and like counts.
show_viewsbooleanShow the view count.
aspect_ratiostringenumOutput canvas aspect ratio.
auto1:14:55:416:99:16media_layoutstringenumLayout for attached media.
gridverticalborder_radiusnumberContainer border radius in pixels.
show_full_textbooleanShow the full post instead of a collapsed 'Show more' state.
show_timestampbooleanShow the post timestamp.
background_imagestringOptional HTTPS URL of a background image.
time_zone_offsetstringFixed UTC offset for the timestamp, such as UTC-5, UTC+8, or UTC+5:30.
container_paddingnumberContainer padding in pixels.
container_backgroundstringOptional container background as a hex color, rgba() color, or linear-gradient() value.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Tweet ScreenshotTWITTERSHOTS_GENERATE_TWEET_SCREENSHOTAcciónRender a public tweet or post as an SVG, PNG, or HTML file suitable for saving. A successful render consumes one API credit.
TWITTERSHOTS_GENERATE_TWEET_SCREENSHOTAcciónRender a public tweet or post as an SVG, PNG, or HTML file suitable for saving. A successful render consumes one API credit.
Parámetros de entrada
logostringenumLogo displayed on the rendered post.
xbluebirdnonethemestringenumLight or dark tweet color theme.
lightdarkwidthintegerTweet content-area width in pixels (300-1000).
formatstringenumFile format for the rendered output. SVG is live-verified; PNG and HTML are documented.
svgpnghtmlheightanyTweet content-area height in pixels, or 'auto' to fit the content.
tweet_idstringObligatorioNumeric tweet/status ID or full public tweet/post status URL.
show_mediabooleanRender attached images and videos.
show_statsbooleanShow reply, repost, and like counts.
show_viewsbooleanShow the view count.
aspect_ratiostringenumOutput canvas aspect ratio.
auto1:14:55:416:99:16media_layoutstringenumLayout for attached media.
gridverticalborder_radiusnumberContainer border radius in pixels.
show_full_textbooleanShow the full post instead of a collapsed 'Show more' state.
show_timestampbooleanShow the post timestamp.
background_imagestringOptional HTTPS URL of a background image.
time_zone_offsetstringFixed UTC offset for the timestamp, such as UTC-5, UTC+8, or UTC+5:30.
container_paddingnumberContainer padding in pixels.
container_backgroundstringOptional container background as a hex color, rgba() color, or linear-gradient() value.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API UsageTWITTERSHOTS_GET_API_USAGEAcciónReturn the remaining and total TwitterShots API credits for the connected API key. This read does not consume a credit.
TWITTERSHOTS_GET_API_USAGEAcciónReturn the remaining and total TwitterShots API credits for the connected API key. This read does not consume a credit.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Bulk Tweet ContentTWITTERSHOTS_GET_BULK_TWEET_CONTENTAcciónFetch up to 100 public tweets as one Markdown document. Inspect the returned Markdown for a 'Failed to fetch tweets' section because individual IDs can fail within an HTTP 200 response. A successful bulk request consumes one API credit.
TWITTERSHOTS_GET_BULK_TWEET_CONTENTAcciónFetch up to 100 public tweets as one Markdown document. Inspect the returned Markdown for a 'Failed to fetch tweets' section because individual IDs can fail within an HTTP 200 response. A successful bulk request consumes one API credit.
Parámetros de entrada
tweet_idsstring[]ObligatorioNumeric IDs of 1-100 public tweets to fetch in one request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Tweet ContentTWITTERSHOTS_GET_TWEET_CONTENTAcciónFetch one public tweet as structured Markdown, with optional statistics, media links, and quoted-tweet content. A successful call consumes one API credit.
TWITTERSHOTS_GET_TWEET_CONTENTAcciónFetch one public tweet as structured Markdown, with optional statistics, media links, and quoted-tweet content. A successful call consumes one API credit.
Parámetros de entrada
tweet_idstringObligatorioNumeric ID of the public tweet to fetch.
include_mediabooleanInclude image and video URLs in the Markdown.
include_statsbooleanInclude reply, repost, like, and view counts in the Markdown.
include_quotedbooleanInclude quoted-tweet content when present.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not