Public X/Twitter Post Screenshot Generator avatar

Public X/Twitter Post Screenshot Generator

Pricing

from $2.99 / 1,000 screenshots

Go to Apify Store
Public X/Twitter Post Screenshot Generator

Public X/Twitter Post Screenshot Generator

Fetch public X/Twitter post data through the public oEmbed endpoint, render a consistent light or dark post card, and store PNG or JPEG screenshots with structured metadata.

Pricing

from $2.99 / 1,000 screenshots

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

This Actor fetches public post metadata from the official X oEmbed endpoint, renders a deterministic light or dark post card in headless Chromium, and stores a PNG or JPEG artifact in the default key-value store. The dataset contains the requested URL, canonical post and author identity, public text, rendering settings, screenshot key and URL, byte count, and capture time. Profiles, searches, private posts, and login-only content are not supported.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Add one or more public x.com or twitter.com post URLs to urls.
  3. Choose theme and format, and set quality if you select JPEG.
  4. Start the Actor, open the dataset, and export the saved metadata as JSON, CSV, or Excel. The screenshot files are in the run's key-value store; open Run summary (OUTPUT) for counts.

Input

Fields marked Required must be supplied. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
urlsobject arrayRequiredNot suppliedOne to 100 request-list objects containing public x.com or twitter.com post URLs. 1–100 items.
themestring enumOptionallightVisual theme used to render the public post card. Allowed values: "light", "dark".
qualityintegerOptional90JPEG quality from 1 to 100. Ignored for PNG.
formatstring enumOptionalpngScreenshot file format. Allowed values: "png", "jpeg".

Example input (the required urls field has no default; the form prefills one URL):

{
"urls": [
{
"url": "https://x.com/jack/status/20"
}
],
"theme": "light",
"quality": 90,
"format": "png"
}

The Actor reads public data from X.com. It does not need an account, cookie, or API key.

Output

The dataset contains one row per saved result. Optional information appears only when the source publishes it; missing values are omitted rather than inferred. No diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
recordTypestringAlwaysRow discriminator; twitter-screenshot for normal output.
recordIdstringAlwaysStable ID in the form twitter-screenshot:<tweetId>.
sourcestringAlwaysoEmbed source host; publish.twitter.com.
provenancestringAlwaysSource and rendering provenance; public_x_oembed.
sourceUrlstringAlwaysPublic post URL used as the source after normalization.
requestedUrlstringAlwaysPost URL requested by the user before oEmbed canonicalization. It can differ from sourceUrl when the requested ID redirects to another author.
sourceWebsitestringAlwaysCanonical source website; https://x.com/.
tweetIdstringAlwaysNumeric X/Twitter post ID.
tweetUrlstringAlwaysCanonical public post URL.
authorNamestringAlwaysPublic author display name.
authorUrlstringAlwaysPublic author profile URL.
usernamestringAlwaysPublic author username.
tweetTextstringAlwaysPublic post text.
publishedLabelstringWhen publishedPublic publication label when oEmbed exposes one; absent from the archived row.
themestringAlwaysRendering theme, light or dark.
formatstringAlwaysStored image format, png or jpeg.
widthintegerAlwaysRendered card width in CSS pixels.
heightintegerWhen renderedRendered card height in CSS pixels.
expandedUrlsstring arrayWhen publishedPublic t.co link targets preserved from the oEmbed HTML; post text is stored as plain text.
screenshotBytesintegerAlwaysStored image byte length.
screenshotUrlstringAlwaysPublic URL returned by the key-value store. In a local run this can be a file:// path; Cloud runs return an HTTPS URL.
screenshotKeystringAlwaysKey-value store key for the image.
capturedAtstringAlwaysTime the record and image were written, in ISO UTC.

The example below is a complete saved row from the 2026-09-09 local run. Because that run used local storage, screenshotUrl is a file:// path; a Cloud run returns the key-value-store public URL for the same kind of key. The requested URL resolves to the canonical jack/status/20 post, which is why requestedUrl and sourceUrl differ.

{
"recordType": "twitter-screenshot",
"recordId": "twitter-screenshot:20",
"source": "publish.twitter.com",
"provenance": "public_x_oembed",
"sourceUrl": "https://x.com/jack/status/20",
"requestedUrl": "https://x.com/openai/status/20",
"sourceWebsite": "https://x.com/",
"tweetId": "20",
"tweetUrl": "https://x.com/jack/status/20",
"authorName": "jack",
"authorUrl": "https://x.com/jack",
"username": "jack",
"tweetText": "just setting up my twttr",
"theme": "dark",
"format": "png",
"width": 550,
"screenshotBytes": 25402,
"screenshotUrl": "file://H:\\w3crawler-actors\\twitter-screenshot-generator/storage/key_value_stores/default/tweet_20_dark_2b864c9e.png",
"screenshotKey": "tweet_20_dark_2b864c9e.png",
"capturedAt": "2026-09-09T05:41:00.720Z"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
recordTypeSummary discriminator; twitter-screenshot-summary.
statusRun outcome. The archived example records success; current builds write SUCCEEDED or FAILED in the same field.
dataAvailableWhether at least one screenshot row was saved.
actorActor slug; twitter-screenshot-generator.
sourceoEmbed source host; publish.twitter.com.
provenanceSource and rendering provenance; public_x_oembed.
requestedUrlsPost URLs requested for the run.
postsRequestedNumber of posts processed.
itemsStoredScreenshot metadata rows written.
screenshotsStoredImage artifacts stored in the key-value store.
failedPostsPosts that failed oEmbed lookup or rendering.
diagnosticCountOperational issues recorded for the run.
durationMsMeasured run time in milliseconds.
capturedAtTime the summary was written, in ISO UTC.
StatusMeaning
SUCCEEDEDCurrent builds: the run completed and at least one screenshot was stored. The archived example records the older lowercase success.
FAILEDA fatal error occurred before any usable screenshot was stored.

Current builds also write dataStatus; the archived example predates it.

Example OUTPUT from the saved run:

{
"recordType": "twitter-screenshot-summary",
"status": "success",
"dataAvailable": true,
"actor": "twitter-screenshot-generator",
"source": "publish.twitter.com",
"provenance": "public_x_oembed",
"requestedUrls": [
"https://x.com/openai/status/20"
],
"postsRequested": 1,
"itemsStored": 1,
"screenshotsStored": 1,
"failedPosts": 0,
"diagnosticCount": 0,
"durationMs": 1999,
"capturedAt": "2026-09-09T05:41:01.243Z"
}

Coverage and limitations

The Actor accepts public post URLs only. It does not log in, use cookies, access private posts, scrape profiles or searches, solve CAPTCHAs, use stealth or fingerprint changes, or bypass technical restrictions. One screenshot is rendered per successful post, and the image is stored in the run's key-value store. If oEmbed or rendering fails, the Actor records the failure in OUTPUT and logs and does not claim a screenshot.

screenshotUrl reflects the storage environment: a local run can return a file:// path, while a Cloud run returns the key-value-store public URL. Optional fields are omitted when oEmbed does not publish them; values are not inferred. Source availability can change, and blocked, empty, or partial responses are reported in the run summary rather than written as data rows.

Usage and support

The Actor renders post cards in headless Chromium, so cost depends on Apify compute, one browser render per successful post, image storage, and key-value-store operations. The actor is configured with 4 GB of memory for rendering; start with a small URL list, inspect the dataset and OUTPUT, then scale. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by X Corp., Twitter, or any of their affiliates. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.