Copy Threads post embed

Scrapes a Threads post, gets the embed code using the URL and username, and copies it to the clipboard.

Actions

shortcuts-action-icon-run-shortcut.webp
Run Shortcut
Run an shortcut from your shortcut.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-get-dictionary-value.webp
Get Dictionary Value
Gets the value for the specified key in the dictionary passed into the action.
shortcuts-action-icon-get-text-from-input.webp
Get Text from Input
Returns text from the previous action’s output. For example, this action can get the name of a photo or song, or the text of a web page.
shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-stop-and-output.webp
Stop and Output
Stops execution of the current shortcut, and outputs content. This action is useful when: • Running a shortcut from another shortcut (using the Run Shortcut action). The output will be used as the output of the Run Shortcut action. • Running a shortcut from Quick Actions in Finder on macOS. The output will be saved as a file alongside the files selected in Finder. • Running a shortcut from Services on macOS. The output will replace the selected content, if applicable. • Or, when running a shortcut from another location that supports output, like the command-line or the Shortcuts URL scheme. No more actions will be run after this action.

More From This Folder

OCR Thread

Accepts a Thread link, scrapes the data, then opens the link, waits for it to load, takes a screenshot, extracts text from the screenshot, then prompts you to delete the extra text before replacing the excerpt in the Thread JSON dictionary.

Get Shortcut »

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Copy%20Threads%20post%20embed
Link to Open Shortcut
shortcuts://open-shortcut?name=Copy%20Threads%20post%20embed
AppleScript code
tell application “Shortcuts Events” run shortcut “Copy Threads post embed” end tell

More From The Library

Scan Documents

Opens the Scan Document interface—which scans into the current Files folder—then waits for you to return to Shortcuts before retrieving the file. Designed as a function to pass the file to the next action.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more