Facebook Post
Generate Facebook post embed code from post URLs
Generate Facebook post embed code from individual post URLs. Display single posts with likes, comments, and shares on any website.
Generate Facebook post embed code from individual post URLs. Display single posts with likes, comments, and shares on any website.
Generating a Facebook post embed is simple: Find the Facebook post you want to embed and click the three-dot menu (⋯) on the post, then select 'Copy link' — the URL looks like https://www.facebook.com/PAGENAME/posts/123456789. Paste the URL into the input box on our tool. Choose your customization options: set the width (minimum 340px) and decide whether to include conversation (comments) below the post. Click Generate to produce the embed code. The HTML appears in the output box — copy it and paste directly into your webpage's HTML source.
Facebook post embeds use the fb-post social plugin which renders a single post with full engagement metrics. Unlike page plugins that show feeds, post embeds focus on one specific piece of content. The embed displays the author's name and profile picture, the post text, any attached media (images, videos, links), and engagement counts (likes, comments, shares). Users can interact with the embedded post — liking, commenting, and sharing all work within the iframe. The embed automatically adapts to the post type: text-only posts are compact, image posts expand to show the full image, video posts include the native player, and shared links show the Open Graph preview. The conversation parameter controls whether comments appear below the post — enabling it creates a mini discussion thread within your webpage.
Single post embeds serve different purposes than page feed embeds. Use post embeds when you want to highlight a specific announcement, testimonial, or milestone — for example, a company embedding their product launch announcement on their press page. Page embeds are better for showcasing ongoing activity and encouraging visits to the Facebook page. Post embeds have a fixed height determined by the content, making them predictable for layout planning. Page embeds have variable height depending on the number of posts displayed. Post embeds load faster because they fetch only one post's data rather than a feed of multiple posts. For marketing pages, post embeds provide focused social proof — a single glowing review carries more weight than a generic feed.
No, Facebook Stories cannot be embedded. Only regular wall posts, page posts, and shared content can be embedded through the fb-post plugin.
The post may have been deleted, made private, or the page may have been restricted. Facebook removes embed access when content is no longer publicly available.
No, Facebook post embeds use Facebook's default styling. You cannot override colors, fonts, or layout through CSS or embed parameters.
Post embeds refresh engagement metrics (likes, comments count) periodically but not instantaneously. New comments may take several seconds to appear after posting.
Facebook Reels have limited embed support. Some reels can be embedded as regular video posts, but dedicated Reel embeds are not supported through the standard plugin system.
Facebook doesn't provide click tracking for embeds. Use your website analytics to track iframe interactions. Set up event listeners on the iframe for scroll and click events to gather engagement data.