# Twitter Native Embed

**URL:** <https://meta.discourse.org/t/twitter-native-embed/261792>\
**Category:** Theme component\
**Created:** [April 15, 2023, 12:35pm UTC](https://meta.discourse.org/t/twitter-native-embed/261792 "2023-04-15T12:35:49Z")\
**Posts on this page:** 1\
**Showing post:** 122

<div class="post-metadata">

**Author:** ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/579081_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)\
**Post date:** [September 28, 2026, 4:54am UTC](https://meta.discourse.org/t/twitter-native-embed/261792/122 "2026-09-28T04:54:38Z")

</div>

**Update: first milestone of my fork**

Thanks for the feedback. My fork has kept the safe-mode banner away so far. My best guess for the cause is still a missing `data-onebox-src` attribute, but that isn’t confirmed, so please treat it as experimental.

Since then I’ve added a few things, some of them wished for earlier in this thread:

- **the plain link above a tweet disappears** once the tweet has loaded (it stays if X can’t be reached)
- less jumping while tweets load, and no duplicate embeds
- dark mode for embeds
- bare X links that Discourse didn’t onebox are embedded too
- quoting a post with an X link no longer replaces your quote with the tweet

> **[GitHub - terraboss/discourse-x-native-embed: X embedding](https://github.com/terraboss/discourse-x-native-embed)**
>
> X embedding

All credit for the original idea goes to @Lhc_fl. The fork was built with some AI help from Claude. I’d be glad to hear how it works for others.

---

_[View the full topic](https://meta.discourse.org/t/twitter-native-embed/261792)._
