. That's it."}},{"@type":"Question","name":"How is this different from the Facebook Page Plugin?","acceptedAnswer":{"@type":"Answer","text":"Facebook's Page Plugin embeds a heavy iframe that loads slowly, can't be styled, and has limited functionality. Social Media Feeds uses a lightweight JavaScript widget that loads asynchronously, gives you full design control, and displays your posts in multiple layouts (grid, cards, carousel, list)."}},{"@type":"Question","name":"Will the embed code work on Shopify?","acceptedAnswer":{"@type":"Answer","text":"Yes. In your Shopify theme editor, add a Custom Liquid section and paste the embed code. It works in any section of any Shopify theme. No Shopify app installation required."}},{"@type":"Question","name":"Do I need to update the HTML code when I post new content?","acceptedAnswer":{"@type":"Answer","text":"No. The embed code stays the same forever. When you post on Facebook, the widget automatically picks up your new content based on your plan's refresh interval — daily on Free, daily on Pro, twice daily on Business."}},{"@type":"Question","name":"Is there a free version of the Facebook embed code?","acceptedAnswer":{"@type":"Answer","text":"Yes. The free plan includes one Facebook feed widget with daily refresh and full customisation. No credit card required, no time limit. Paid plans add more widgets, faster refresh, and branding removal."}},{"@type":"Question","name":"Can I embed the HTML code on multiple pages?","acceptedAnswer":{"@type":"Answer","text":"Yes. You can paste the same embed code on as many pages as you like — it counts as one widget. Each page will display the same Facebook feed with the same settings."}}]}
Sign up before 30 May and get 3 months free

Embed Facebook Feed — HTML Code

Add a live Facebook Page feed to any website with a single line of HTML. No coding skills, no API keys, no complex setup — just paste the embed code and your Facebook posts appear instantly.

Live Facebook Feed Widget

This is a real Facebook feed widget — fully interactive and auto-updating. This is exactly what visitors to your website will see.

The Simplest Way to Embed a Facebook Feed on Your Website

Facebook's own Page Plugin is a clunky iframe that loads slowly, looks out of place on your site, and gives you zero control over styling. Most alternatives require developer skills, API key management, or expensive third-party tools. Social Media Feeds gives you a one-line HTML embed code that displays your full Facebook Page feed on any website.

The embed code works everywhere HTML works: WordPress, Shopify, Squarespace, Wix, Webflow, custom-built sites, landing page builders — if you can paste HTML, you can embed your Facebook feed. No JavaScript frameworks, no build tools, no npm packages.

Behind the scenes, the widget connects to your Facebook Page through the official Meta Graph API, so your feed updates reliably every time you post. But from your perspective, it's just one line of code that you paste once and never think about again.

Step-by-Step Setup

Follow these steps to get your Facebook feed widget live.

1

Create Your Account

Sign up at Social Media Feeds — it takes 30 seconds. Connect your Facebook Page through the secure Meta OAuth flow. No API keys to manage.

2

Customise Your Feed Widget

Choose your preferred layout (grid, cards, list, or carousel). Set how many posts to show, adjust colours and fonts, and preview your feed in real time before embedding.

3

Copy the HTML Embed Code

Your embed code is a single HTML div tag plus a script reference. It looks like this: a data attribute identifies your widget, and the script handles everything else.

4

Paste into Your Website HTML

Open your website editor and paste the code wherever you want the Facebook feed to appear. On WordPress, use a Custom HTML block. On Shopify, use a Custom Liquid section. On Squarespace or Wix, use an Embed or HTML block. The feed renders immediately.

Key Benefits

Everything you need to display your Facebook feed on your website — without the complexity.

One Line of HTML

The entire embed is a single div tag plus a script reference. No configuration files, no API keys, no JavaScript frameworks — just paste and publish.

Works on Any Website

WordPress, Shopify, Squarespace, Wix, Webflow, Framer, Carrd, custom HTML — anywhere you can paste HTML, you can embed your Facebook feed.

Better Than Facebook's Page Plugin

Facebook's own embed is a heavy iframe with no customisation. This is a lightweight async widget with full design control — colours, fonts, layouts.

Official Meta API

Your feed connects through Facebook's official Graph API — not screen scraping. Reliable, authenticated, and won't break unexpectedly.

Automatic Updates

Post on Facebook and your website updates itself. The embed code stays the same forever — new content flows through automatically.

Fully Customisable

Despite being a simple embed, you get full control over layout, colours, fonts, post count, and responsive behaviour through the dashboard.

Your Embed Code

Once you've created your widget, you'll get a simple embed code like this. Paste it anywhere on your website.

<!-- Paste this where you want your Facebook feed to appear -->
<div data-facebook-widget data-embed-id="your-embed-id"></div>
<script src="https://socialmediafeeds.com/embed/widget.js"></script>

Frequently Asked Questions

What does the Facebook embed code look like?

The embed code is two lines: a div tag with a data attribute identifying your widget, and a script tag that loads the widget renderer. Example: <div data-facebook-widget data-embed-id="8b329d4b7f53b3b4"></div> followed by <script src="https://socialmediafeeds.com/embed/widget.js"></script>. That's it.

How is this different from the Facebook Page Plugin?

Facebook's Page Plugin embeds a heavy iframe that loads slowly, can't be styled, and has limited functionality. Social Media Feeds uses a lightweight JavaScript widget that loads asynchronously, gives you full design control, and displays your posts in multiple layouts (grid, cards, carousel, list).

Will the embed code work on Shopify?

Yes. In your Shopify theme editor, add a Custom Liquid section and paste the embed code. It works in any section of any Shopify theme. No Shopify app installation required.

Do I need to update the HTML code when I post new content?

No. The embed code stays the same forever. When you post on Facebook, the widget automatically picks up your new content based on your plan's refresh interval — daily on Free, daily on Pro, twice daily on Business.

Is there a free version of the Facebook embed code?

Yes. The free plan includes one Facebook feed widget with daily refresh and full customisation. No credit card required, no time limit. Paid plans add more widgets, faster refresh, and branding removal.

Can I embed the HTML code on multiple pages?

Yes. You can paste the same embed code on as many pages as you like — it counts as one widget. Each page will display the same Facebook feed with the same settings.

Ready to Add Your Facebook Feed to Your Website?

Sign up today and get 3 months free on any paid plan. Set up your first widget in under 5 minutes.

Offer ends 30 May 2026