Introduction
This is a simple project for testing embeds of content from Mastodon using different tools and methods. The goal is to provide clear, isolated examples.
📝 Read more background on DEV: The Fediverse is an Opportunity for Developers.
Testing various ways to embed Mastodon content.
This is a simple project for testing embeds of content from Mastodon using different tools and methods. The goal is to provide clear, isolated examples.
📝 Read more background on DEV: The Fediverse is an Opportunity for Developers.
Embedding single posts is straightforward using Mastodon's API (it supports oEmbed, and there is an option to get embed code on the default web UI).
Embedding timelines requires external services or client-side libraries, as Mastodon doesn't offer a built-in timeline embed.
Some examples include a Fediverse sharing button.
The code for these examples is available on GitHub.
You can remix this project on Glitch:
Say hello 👋🏻: