Volver al catálogo

TwitterShots

twittershots

TwitterShots renders public X posts as screenshots and retrieves tweet content and API usage.

Acciones
5
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Render 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

  • logostringenum

    Logo displayed on the rendered post.

    xbluebirdnone
  • themestringenum

    Light or dark tweet color theme.

    lightdark
  • widthinteger

    Tweet content-area width in pixels (300-1000).

  • formatstringenum

    Hosted render format. SVG is verified; PNG and HTML are documented but unverified.

    svgpnghtml
  • heightany

    Tweet content-area height in pixels, or 'auto' to fit the content.

  • tweet_idstringObligatorio

    Numeric tweet/status ID or full public tweet/post status URL.

  • show_mediaboolean

    Render attached images and videos.

  • show_statsboolean

    Show reply, repost, and like counts.

  • show_viewsboolean

    Show the view count.

  • aspect_ratiostringenum

    Output canvas aspect ratio.

    auto1:14:55:416:99:16
  • media_layoutstringenum

    Layout for attached media.

    gridvertical
  • border_radiusnumber

    Container border radius in pixels.

  • show_full_textboolean

    Show the full post instead of a collapsed 'Show more' state.

  • show_timestampboolean

    Show the post timestamp.

  • background_imagestring

    Optional HTTPS URL of a background image.

  • time_zone_offsetstring

    Fixed UTC offset for the timestamp, such as UTC-5, UTC+8, or UTC+5:30.

  • container_paddingnumber

    Container padding in pixels.

  • container_backgroundstring

    Optional container background as a hex color, rgba() color, or linear-gradient() value.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Tweet ScreenshotTWITTERSHOTS_GENERATE_TWEET_SCREENSHOTAcción

Render 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

  • logostringenum

    Logo displayed on the rendered post.

    xbluebirdnone
  • themestringenum

    Light or dark tweet color theme.

    lightdark
  • widthinteger

    Tweet content-area width in pixels (300-1000).

  • formatstringenum

    File format for the rendered output. SVG is live-verified; PNG and HTML are documented.

    svgpnghtml
  • heightany

    Tweet content-area height in pixels, or 'auto' to fit the content.

  • tweet_idstringObligatorio

    Numeric tweet/status ID or full public tweet/post status URL.

  • show_mediaboolean

    Render attached images and videos.

  • show_statsboolean

    Show reply, repost, and like counts.

  • show_viewsboolean

    Show the view count.

  • aspect_ratiostringenum

    Output canvas aspect ratio.

    auto1:14:55:416:99:16
  • media_layoutstringenum

    Layout for attached media.

    gridvertical
  • border_radiusnumber

    Container border radius in pixels.

  • show_full_textboolean

    Show the full post instead of a collapsed 'Show more' state.

  • show_timestampboolean

    Show the post timestamp.

  • background_imagestring

    Optional HTTPS URL of a background image.

  • time_zone_offsetstring

    Fixed UTC offset for the timestamp, such as UTC-5, UTC+8, or UTC+5:30.

  • container_paddingnumber

    Container padding in pixels.

  • container_backgroundstring

    Optional container background as a hex color, rgba() color, or linear-gradient() value.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API UsageTWITTERSHOTS_GET_API_USAGEAcción

Return 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Bulk Tweet ContentTWITTERSHOTS_GET_BULK_TWEET_CONTENTAcción

Fetch 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[]Obligatorio

    Numeric IDs of 1-100 public tweets to fetch in one request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tweet ContentTWITTERSHOTS_GET_TWEET_CONTENTAcción

Fetch 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_idstringObligatorio

    Numeric ID of the public tweet to fetch.

  • include_mediaboolean

    Include image and video URLs in the Markdown.

  • include_statsboolean

    Include reply, repost, like, and view counts in the Markdown.

  • include_quotedboolean

    Include quoted-tweet content when present.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not