# Automatically embed Mastodon posts from URL

**URL:** <https://meta.discourse.org/t/automatically-embed-mastodon-posts-from-url/257460>\
**Category:** Feature\
**Tags:** embedding, pr-welcome\
**Created:** [March 8, 2023, 8:31am UTC](https://meta.discourse.org/t/automatically-embed-mastodon-posts-from-url/257460 "2023-03-08T08:31:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [March 8, 2023, 4:25pm UTC](https://meta.discourse.org/t/automatically-embed-mastodon-posts-from-url/257460/3 "2023-03-08T16:25:07Z")

</div>

> [@crashfistfighter](#):
>
> the size of the iframe is not adjusted to fit its contents

Manually is. The embed misses height (or was it width?) and that’s why it doesn’t work on Discourse. Those sizes are kind of hardcoded anyway. I would blaime Mastodon.

---

_[View the full topic](https://meta.discourse.org/t/automatically-embed-mastodon-posts-from-url/257460)._
