How to Embed a Facebook Page on Your Website
Meta's Page plugin shows your Facebook Page, with its timeline, events or a messages tab, on any website. Generate the code on Meta's Page plugin page by entering your Page URL, choosing tabs and size, then paste it. The Page must be public, with no age or country restrictions. Width runs from 180 to 500 pixels.
| Setting | Values |
|---|---|
| tabs | timeline, events, messages (comma separated) |
| width | 180 to 500 pixels, default 340 |
| height | Minimum 70, default 500 |
| adapt to container width | Fills the column up to 500px |
| small header / hide cover | Shrinks or removes the cover photo |
Updated
If your business posts more often on Facebook than on its website, the Page plugin lets the site show that activity without you copying anything across. It is also the quickest way to put upcoming Facebook events on a page.
Embed a Facebook Page on We.Inc, WordPress, Wix, Squarespace or plain HTML
We.Inc
- Copy your Facebook Page URL.
- In the AI chat, ask for a Facebook Page feed in the footer or a News section.
- Preview and publish.
Done by the AI in the page code; chat edits use credits on a paid plan.
WordPress
- Generate the code on Meta's Page plugin page.
- Add a Custom HTML block and paste it.
- Update the page.
The old Facebook embed block no longer works. On WordPress.com, scripts need a plugin-enabled plan with hosting features active.
Wix
- Open Add Elements, Embed Code, Embed HTML.
- Paste the Page plugin code.
- Set the box to at least the plugin's width and height, then publish.
Squarespace
- Add a Code block.
- Paste the SDK script and the fb-page element.
- Save and view the live page.
Scripts in Code blocks need a plan that allows JavaScript (Core and above on current plans).
Plain HTML
- Paste Meta's SDK script after the opening <body> tag.
- Paste the fb-page div where the feed belongs.
- Upload and test in a browser without blockers.
Sources
- Meta for Developers: Page plugin, https://developers.facebook.com/docs/plugins/page-plugin/, checked October 28, 2026, for the Facebook Page steps
- WordPress.org: Embeds, https://wordpress.org/documentation/article/embeds/ (Facebook and Instagram embed note), checked October 28, 2026, for the Facebook Page steps
- WordPress.com: Code, https://wordpress.com/support/code/, checked October 28, 2026, for the Facebook Page steps
- Wix: Embedding a site or a widget, https://support.wix.com/en/article/adding-html-code, checked October 28, 2026, for the Facebook Page steps
Page plugin or single post
The Page plugin shows a live feed; an embedded post shows one fixed post, which is better for quoting a review or an announcement. Both load Meta's JavaScript SDK. Meta lists data-show-posts as deprecated; use the timeline tab to show posts.
WordPress's built-in Facebook embed stopped working in October 2020 when Meta changed its oEmbed rules, so paste Meta's own code instead of a bare link.
Privacy
Meta's SDK can set cookies and tells Meta who viewed the page. For EU and UK visitors, load it only after consent; our cookie banner guide shows how.
How it works
- Make sure the Facebook Page is public and not age or country restricted.
- Open Meta's Page plugin page and paste your Page URL.
- Choose tabs, width, height and header options, then get the code.
- Paste the SDK script and the fb-page element into your site.
Tips
- The plugin will not stretch beyond 500px; centre it in wide layouts rather than fighting the limit.
- Add the events tab only if you actually create Facebook events, or the tab sits empty.
- If nothing renders, check that no browser extension or tracking protection is blocking facebook.net.
Frequently asked questions
Why is my Facebook Page plugin blank?
Most often the Page has age or country restrictions, or a blocker stopped Meta's SDK. Pages with privacy restrictions cannot be embedded.
Is the Facebook Page plugin deprecated?
No. Only the data-show-posts attribute is deprecated. Use the timeline tab to show posts.
How do I embed a single Facebook post?
Use the Embed option on the post, or Meta's Embedded Posts plugin, and paste the code. A bare link no longer turns into an embed on WordPress.
Can We.Inc show my Facebook Page?
Yes, by asking the AI chat for a Facebook Page feed with your Page URL. It is not an add-on, so the AI writes it into the page.
Related: Embed an Instagram feed, Embed an X post, Add a cookie banner, Open Graph tags.
Start for free or see all free tools. We.Inc is free to start, with no card needed. AI building is on paid plans from $20 a month.
More in Guides
- How to Embed Google Calendar on Your Website
- How to Embed a Google Form on Your Website
- How to Embed an Instagram Feed on Your Website
- How to Embed a PDF on Your Website
- How to Embed Spotify on Your Website
- How to Embed a TikTok Video on Your Website
- How to Embed a Vimeo Video on Your Website
- How to Embed a YouTube Video on Your Website
Product
Who It's For
- For Agencies
- For Freelancers
- For Hosting Providers
- For SaaS Platforms
- For Startups
- For Financial Services
- For Healthcare
Features
Resources
- Blog
- Help Center
- Free Business Tools
- Free UI Components
- Website Templates
- Template Collections
- Website Examples
- Guides
- Comparisons
- Alternatives
- Best Lists
- Reviews
- Pricing Guides
- Use Cases
- Glossary & Guides
- Integrations
- Developers
- Benchmark
- Windows App