How to Embed a Threads Post on a Website Using oEmbed
🔍 WiseChecker

How to Embed a Threads Post on a Website Using oEmbed

Embedding a Threads post directly on your website lets you display real-time social content without requiring visitors to leave your site. Many content management systems and website builders support oEmbed, an open standard for embedding rich media from platforms like YouTube, Twitter, and now Threads. When you paste a Threads post URL into a compatible editor, the platform automatically fetches the post and displays it as an interactive embed. This article explains how oEmbed works with Threads, shows you how to embed posts on popular website builders, and covers common limitations you should know before publishing.

Key Takeaways: Embedding Threads Posts with oEmbed

  • Paste the Threads post URL directly: Most CMS platforms auto-detect the URL and generate an embed using oEmbed.
  • WordPress and Medium support oEmbed natively: No plugins or custom code are required for these platforms.
  • Manual embed code is available: If your site does not support oEmbed, use the embed code from Threads or a third-party tool.

ADVERTISEMENT

What Is oEmbed and How Threads Implements It

oEmbed is an open standard that allows a website to display embedded content from another site by simply including the URL. When you paste a supported link, the platform sends a request to the provider, which returns HTML code for the embed. Threads supports oEmbed for public posts, meaning any post that is visible to everyone can be embedded on external websites.

To use oEmbed with Threads, the post must be public. Private or followers-only posts cannot be embedded. The embed displays the post text, images, video, and a link back to the original post on Threads. Interactive elements such as the Like, Reply, and Repost buttons appear inside the embed, allowing visitors to engage without leaving your site.

Prerequisites for Embedding

Before embedding, confirm the following conditions are met:

  • The post is set to public visibility in the Threads privacy settings.
  • Your website or CMS supports oEmbed natively or through a plugin.
  • Your site does not block oEmbed requests via a content security policy.
  • The Threads account is not restricted or suspended.

Steps to Embed a Threads Post Using oEmbed

The method for embedding a Threads post depends on the platform you use. Below are instructions for the most common website builders and CMS platforms.

Embedding on WordPress

  1. Copy the Threads post URL
    Open the Threads app or website, locate the public post you want to embed, and copy the full URL from the browser address bar. The URL format is https://www.threads.net/@username/post/xxxxxxxxxx.
  2. Paste the URL into the WordPress editor
    In the WordPress block editor, place the URL on its own line and press Enter. WordPress automatically converts the URL into an embedded post using oEmbed.
  3. Adjust the embed size
    After the embed appears, click on it to see the block settings panel. You can set the maximum width and height for the embed. The default is 500 pixels wide.
  4. Preview and publish
    Preview the post to confirm the embed displays correctly. Click Publish to make the post live.

Embedding on Medium

  1. Copy the Threads post URL
    Get the full URL of the public Threads post you want to embed.
  2. Paste the URL into the Medium story
    In the Medium editor, paste the URL on a blank line and press Enter. Medium will fetch the post and display it as an embedded element.
  3. Resize if needed
    Medium automatically sets the embed width to fit the story column. You cannot manually adjust the size in the editor.
  4. Publish your story
    Review the embed and publish the story as usual.

Embedding on a Custom HTML Site

  1. Copy the Threads post URL
    Obtain the full URL of the public post.
  2. Generate the embed code
    Visit an oEmbed provider tool such as oembed.com or use the Threads oEmbed endpoint directly. The endpoint is https://www.threads.net/oembed?url=POST_URL. Replace POST_URL with the actual URL. The response will include an html field containing the embed code.
  3. Insert the embed code into your HTML
    Copy the html value from the response and paste it into the body of your webpage where you want the embed to appear.
  4. Test the embed
    Open the page in a browser and verify that the Threads post displays correctly with all interactive elements.

ADVERTISEMENT

Common Issues When Embedding Threads Posts

Embed Does Not Appear After Pasting the URL

If the platform does not convert the URL into an embed, the CMS may not support oEmbed for Threads. Some platforms require a plugin or custom integration. For WordPress, ensure you are using the block editor, not the classic editor. For other platforms, check the documentation for oEmbed support.

Embed Shows a Broken Link or Error Message

This usually happens when the post is set to private or followers-only. Verify the post visibility in Threads settings. Also confirm that the URL is correct and does not contain extra characters. If the problem persists, the Threads account may be restricted from embedding.

Embed Does Not Display Images or Video

Threads oEmbed includes media content, but some platforms may strip or block embedded media due to security policies. Check your site’s content security policy and ensure it allows loading from threads.net and cdn.threads.net. You may need to add these domains to the img-src and media-src directives.

Threads oEmbed vs Manual Embed Code

Item oEmbed Method Manual Embed Code
Setup effort Paste URL only Requires copying HTML from API response
Automatic updates Embed updates if post is edited Static HTML does not reflect changes
Platform support Works on WordPress, Medium, and others Works on any HTML site
Interactive elements Includes Like, Reply, Repost buttons Same interactive elements
Customization Limited to platform settings You can modify the HTML and CSS

The oEmbed method is best for users who want a quick, no-code solution on supported platforms. Manual embed code gives you more control over styling and placement on custom sites.

You can now embed any public Threads post on your website using oEmbed or manual embed code. For WordPress and Medium users, simply paste the URL and let the platform handle the rest. If your site requires custom HTML, use the Threads oEmbed endpoint to generate the embed code. As an advanced tip, you can cache the embed HTML to improve page load speed on high-traffic pages.

ADVERTISEMENT