Mastodon Post Embed

Construct HTML embed code for a single Mastodon post from its URL.


Description

Mastodon Post Embed

This shortcut receives the URL for a single Mastodon post (ex: https://mastodon.social/@DavidBlue/108719072749537994) and constructs standard format HTML embed code (precisely the same output you'll get from using the "Embed" button in Tootsuite,) which it then outputs directly with a Stop and Output action so that (in theory,) one can use it to replace selected URLs immediately from the share sheet.

Example output:

` <iframe src="https://mastodon.social/@DavidBlue/108719072749537994/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><script src="https://static-cdn.mastodon.social/embed.js" async="async"></script>


Latest Release Notes

1.0 - July 27, 2022, 12:14 p.m.

Initial release.