Public X/Twitter Post Screenshot Generator
Pricing
from $2.99 / 1,000 screenshots
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
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
- Open the Actor Store page and select Try for free or open the Input tab.
- Add one or more public x.com or twitter.com post URLs to
urls. - Choose
themeandformat, and setqualityif you select JPEG. - 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.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
urls | object array | Required | Not supplied | One to 100 request-list objects containing public x.com or twitter.com post URLs. 1–100 items. |
theme | string enum | Optional | light | Visual theme used to render the public post card. Allowed values: "light", "dark". |
quality | integer | Optional | 90 | JPEG quality from 1 to 100. Ignored for PNG. |
format | string enum | Optional | png | Screenshot 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.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | Always | Row discriminator; twitter-screenshot for normal output. |
recordId | string | Always | Stable ID in the form twitter-screenshot:<tweetId>. |
source | string | Always | oEmbed source host; publish.twitter.com. |
provenance | string | Always | Source and rendering provenance; public_x_oembed. |
sourceUrl | string | Always | Public post URL used as the source after normalization. |
requestedUrl | string | Always | Post URL requested by the user before oEmbed canonicalization. It can differ from sourceUrl when the requested ID redirects to another author. |
sourceWebsite | string | Always | Canonical source website; https://x.com/. |
tweetId | string | Always | Numeric X/Twitter post ID. |
tweetUrl | string | Always | Canonical public post URL. |
authorName | string | Always | Public author display name. |
authorUrl | string | Always | Public author profile URL. |
username | string | Always | Public author username. |
tweetText | string | Always | Public post text. |
publishedLabel | string | When published | Public publication label when oEmbed exposes one; absent from the archived row. |
theme | string | Always | Rendering theme, light or dark. |
format | string | Always | Stored image format, png or jpeg. |
width | integer | Always | Rendered card width in CSS pixels. |
height | integer | When rendered | Rendered card height in CSS pixels. |
expandedUrls | string array | When published | Public t.co link targets preserved from the oEmbed HTML; post text is stored as plain text. |
screenshotBytes | integer | Always | Stored image byte length. |
screenshotUrl | string | Always | Public URL returned by the key-value store. In a local run this can be a file:// path; Cloud runs return an HTTPS URL. |
screenshotKey | string | Always | Key-value store key for the image. |
capturedAt | string | Always | Time 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.
| Field | Meaning |
|---|---|
recordType | Summary discriminator; twitter-screenshot-summary. |
status | Run outcome. The archived example records success; current builds write SUCCEEDED or FAILED in the same field. |
dataAvailable | Whether at least one screenshot row was saved. |
actor | Actor slug; twitter-screenshot-generator. |
source | oEmbed source host; publish.twitter.com. |
provenance | Source and rendering provenance; public_x_oembed. |
requestedUrls | Post URLs requested for the run. |
postsRequested | Number of posts processed. |
itemsStored | Screenshot metadata rows written. |
screenshotsStored | Image artifacts stored in the key-value store. |
failedPosts | Posts that failed oEmbed lookup or rendering. |
diagnosticCount | Operational issues recorded for the run. |
durationMs | Measured run time in milliseconds. |
capturedAt | Time the summary was written, in ISO UTC. |
| Status | Meaning |
|---|---|
SUCCEEDED | Current builds: the run completed and at least one screenshot was stored. The archived example records the older lowercase success. |
FAILED | A 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.