Easy Tweet Embedding in Mastra Blog Posts

·

Jan 25, 2025

Basic Usage

Simply use the TweetEmbed component with any tweet URL:

<TweetEmbed url="https://x.com/mattppal/status/1970488331046920629" />

And here's what that looks like:

Multiple Ways to Embed

The easiest way is to just paste the tweet URL:

<TweetEmbed url="https://x.com/username/status/1234567890" />

Using Tweet IDs

If you prefer working with just the ID:

<Tweet id="1970488331046920629" />

Stay up to date