A Facebook embed generator turns a link to a public Facebook post, video, Reel or Page into code that shows it on your website. This one works out what each link is and builds the right code for it: Facebook’s post embed, its video player, or its Page plugin with your latest posts. You can paste up to 10 links at once, put them side by side, and choose between code that loads fast and code that needs no script at all.
How to embed a Facebook post on your website
- Copy the link. On a computer, click the time under the name on the post, then copy the address from the browser bar. In the Facebook app, tap Share and choose Copy link.
- Open share links first. If the link looks like
facebook.com/share/…orfb.watch/…, open it in your browser, then copy the full address it opens. - Paste it into the generator above. Add more links, one per line. The tool tells you how many posts, videos and Pages it found.
- Pick the code type and set the options for each kind of link.
- Copy the code and paste it where it should appear. The buttons under the code show where to paste it in WordPress, Elementor, Wix, Shopify, Squarespace and Webflow.
Facebook’s own Embed option sits in the three-dot menu of a post on a computer. It gives you one post at a time.
Fast-loading, official script or no script: which code to choose
- Fast-loading (recommended): Facebook’s official embed, but its script loads only when a visitor scrolls near the post. Your page opens faster, and the embed looks the same once it appears.
- Official script: the code as Facebook writes it, with the script loading as soon as the page opens. Use it when the embed sits at the very top of the page.
- No script (iframe): a plain frame from Facebook. Nothing else loads on your page, which suits builders that block scripts. Without the script a post can’t size itself, so set a height that fits it. Videos and Reels keep their shape on any screen.
What you can embed from Facebook
- Posts: public posts from Pages and profiles, including photo posts. Facebook’s Embedded Posts guide says only public posts can be embedded. A public post shows a small globe icon next to its time.
- Videos and Reels: public videos, Reels and live videos, shown in Facebook’s video player. Reels get a tall frame that fits their shape.
- Pages: a public Page with its latest posts, events or a message tab, built with Facebook’s Page plugin.
Posts in groups, friends-only posts and deleted posts can’t be embedded.
How to embed a Facebook video or Reel
Paste the video or Reel link and the generator switches to Facebook’s video player. In the script code types you can let visitors play it full screen, start it muted on load, show captions when the video has them, and show the post text under it. Facebook’s video player guide says autoplay and captions work on computers only, and autoplay always starts without sound.
How to show your Facebook Page feed on a website
Paste your Page link, like facebook.com/yourpage, and the generator builds the Page plugin. It shows your cover photo, follower count, a Follow button and your latest posts. You can also add an events tab and a message tab, use a smaller header, or hide the cover photo. Facebook’s Page plugin guide sets the width from 180 to 500 pixels, and the plugin shrinks to fit narrower columns. It works for public Pages without age or country limits, not for personal profiles.
How to embed Facebook in WordPress
Since 2020, WordPress no longer turns a Facebook link into an embed by itself, so you need embed code. In the block editor, add a Custom HTML block and paste the code. In the classic editor, switch to the Text tab first, because the visual editor can change the & signs and break the code. In Elementor, use an HTML widget.
Facebook embed not showing? Common fixes
- “This Facebook post is no longer available”: the post was deleted or its audience changed from Public.
- The space is empty: the post may be private or in a group, or the visitor’s browser or an ad blocker may block Facebook content.
- The code broke after pasting: paste it into a block or widget that keeps HTML as it is.
- A post looks cut off in no-script mode: raise the height, or switch to a script code type so the post sizes itself.
- The embed is too wide or too narrow: change the max width. Don’t resize Facebook embeds with your own CSS, because Facebook says that can break them.
Do Facebook’s Like and Comment buttons still work on websites?
No. Meta switched off its separate Like and Comment buttons for websites on February 10, 2026. This doesn’t affect embedded posts, videos or the Page plugin, which this generator builds.
Does embedding help your Facebook Page?
An embed shows your posts to people already on your website and gives them a one-tap way to follow your Page. It works alongside your posting plan on Facebook, not instead of it. For help growing the Page itself, see our Facebook services.
Is the code safe to use on any website?
Yes. Every code type loads content straight from Facebook using its own embed formats. The generator runs in your browser, and nothing you paste is sent to us or stored. The optional “Created with TheSMMExpert” line is a plain link, and you can turn it off before you copy the code.
Why use this generator instead of Facebook's own Embed option or ChatGPT?
Facebook's Embed option works one post at a time, only on a computer, and its code loads Facebook's script as soon as the page opens. It also doesn't build a Page feed. This generator takes posts, videos, Reels and Page links together, up to 10 at once, can lay them out in a grid, and can load Facebook's script only when the embed scrolls into view. It also gives a no-script version for builders that block scripts.
A chatbot can write Facebook embed code, but it can't check your link, and it often mixes up the post, video and Page formats or uses settings Facebook has dropped. Here you see the real embed in the preview before you copy.
Frequently asked questions
Why not just use the Embed option on Facebook?
You can, for one post on a computer. This generator also works with phone links, handles videos, Reels and Page feeds, several links and a grid, offers a fast-loading and a no-script version, and shows a preview first.
How do I get the embed code for a Facebook post?
Copy the post link (on a computer, click the time under the name; in the app, tap Share and Copy link), paste it here and copy the code. Facebook also has an Embed option in the post menu on a computer.
Can I embed a post from a Facebook group?
No. Facebook only allows public posts from Pages and profiles to be embedded. Group posts, friends-only posts and deleted posts won't show.
Can I show my Facebook Page feed on my website?
Yes. Paste your Page link and the tool builds Facebook's Page plugin with your latest posts, plus optional events and message tabs. It works for public Pages, not personal profiles.
Why is my Facebook embed blank?
The post may not be public, it may have been deleted, or the visitor's browser may block Facebook content. In WordPress, paste the code into a Custom HTML block so the & signs aren't changed.
Is my link saved?
No. The tool runs in your browser. Nothing you paste is sent to us or stored.