# Embedding youtube/twitter/instagram

**URL:** https://meta.discourse.org/t/embedding-youtube-twitter-instagram/248969
**Category:** Support
**Created:** [December 14, 2022, 10:17pm UTC](https://meta.discourse.org/t/embedding-youtube-twitter-instagram/248969 "2022-12-14T22:17:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sho\_Nuff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sho_nuff/32/244726_2.png) [@Sho\_Nuff](https://meta.discourse.org/u/Sho_Nuff)
#### Post date: [December 14, 2022, 10:17pm UTC](https://meta.discourse.org/t/embedding-youtube-twitter-instagram/248969/1 "2022-12-14T22:17:30Z")

</div>

Embedding is not working for me. Is there some setting I have to turn on? I swear at one point I think it was working. Also when I add a twitter link it gives me this error “Sorry, we were unable to generate a preview for this web page, because the following oEmbed / OpenGraph tags could not be found”. I am pretty new to this. Appreciate any help.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [December 14, 2022, 10:25pm UTC](https://meta.discourse.org/t/embedding-youtube-twitter-instagram/248969/2 "2022-12-14T22:25:38Z")

</div>

Have you set up Twitter on your instance?

> [@Configuring X login and rich embeds for Discourse](https://meta.discourse.org/t/configure-twitter-login-and-rich-embeds-for-discourse/13395):
>
> bookmark This guide explains how to set up Twitter login and rich embeds for your Discourse forum. person_raising_hand Required user level: Administrator warning In order for rich embeds to work properly, a Basic plan or higher for X Dev is mandatory. Rich embeds will not work with the Free X Dev plan. X Configuration Go to the [Developer Portal](https://developer.twitter.com/en/portal/projects-and-apps) on X. Choose between a Free, Basic, or Pro X Dev plan and complete the developer agreement and policy requirements. After completing …

---

<div class="post-metadata">

### Author: ![Sho\_Nuff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sho_nuff/32/244726_2.png) [@Sho\_Nuff](https://meta.discourse.org/u/Sho_Nuff)
#### Post date: [December 14, 2022, 10:37pm UTC](https://meta.discourse.org/t/embedding-youtube-twitter-instagram/248969/3 "2022-12-14T22:37:23Z")

</div>

For example, I put in the embed code and nothing shows up in preview.

 ![Facebook-cover-tips-and-templates-Newsie-Community-Newsie-Forum](https://global.discourse-cdn.com/meta/original/4X/f/5/9/f59baad3ca812bf2a606b95a073496a1c36bd97f.png)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [December 14, 2022, 10:58pm UTC](https://meta.discourse.org/t/embedding-youtube-twitter-instagram/248969/4 "2022-12-14T22:58:54Z")

</div>

You can’t use html embed code.

Try pasting the link on a new line by itself.

For example

`https://youtu.be/cqGjhVJWtEg`

Equals

[![](https://global.discourse-cdn.com/meta/original/4X/4/b/2/4b2ba5fe7cc3648a82470e809aba26629537e6fa.jpeg "SPIDER-MAN: ACROSS THE SPIDER-VERSE - Official Trailer (HD)") ](https://www.youtube.com/watch?v=cqGjhVJWtEg)
