Docs

Facebook Embed

Embed a Facebook page, post or video.

On this page

The Facebook Embed widget shows a Facebook page (its timeline, events or messages), a single post or a video on your site. By default it is privacy friendly: visitors first see a preview drawn by your site with a button and a short note, and nothing loads from Facebook until they click it.

A click-to-load preview of a Facebook page: a blue cover area, a Facebook logo, the page address facebook.com/northwindstudio, placeholder lines and a Show Facebook page button with the note “Loads content from Facebook”
The click-to-load preview. Facebook loads only after the click.

Add a Facebook embed

  1. Insert it

    Open Insert in the left panel, find Facebook Embed under Media (or type facebook in Search widgets) and click it or drag it onto the canvas.

  2. Choose what to embed

    Set Embed to Page (timeline), Post or Video, and paste the address of the page, post or video.

  3. Set the size

    In Content → Size, set the Width and Height (or the Aspect ratio for a video).

  4. Keep the privacy preview

    Leave Load on click on in Content → Privacy. Change the Button text and Privacy note if you like.

Load on click (privacy)

With Load on click on, the page shows a preview drawn by your site. Facebook, and its cookies, load only when the visitor clicks the button; the embed then fits the space it has. This helps with privacy laws such as the GDPR. Turn it off to load the Facebook plugin straight away.

The editor always shows the preview, so nothing loads from Facebook while you design.

Settings

Settings marked Per device can differ on desktop, tablet and mobile (see Responsive editing). The addresses support dynamic tags (see Dynamic tags).

Content tab

Facebook
SettingWhat it does
EmbedWhat to embed: a page’s timeline, one post or one video. Options: Page (timeline), Post, Video. Default: Page (timeline).
Page URLThe address of the Facebook page, such as https://www.facebook.com/yourpage (opens in a new tab). Shown when Embed is Page (timeline). Supports dynamic tags.
Post URLThe address of the post. Shown when Embed is Post. Supports dynamic tags.
Video URLThe address of the video. Shown when Embed is Video. Supports dynamic tags.
TabsWhich page tabs to show. Leave empty to show only the page header. Options: Timeline, Events, Messages. Shown when Embed is Page (timeline).
Small headerUses a smaller page header. Shown when Embed is Page (timeline).
Hide cover photoHides the page’s cover photo. Shown when Embed is Page (timeline).
Show friends who like the pageShows profile pictures of friends who like the page. On by default. Shown when Embed is Page (timeline).
Hide the call-to-action buttonHides the page’s call-to-action button. Shown when Embed is Page (timeline).
Include the post textShows the text of the post with it. On by default. Shown when Embed is Post.
Include the post textShows the text of the post that holds the video. Shown when Embed is Video.
Size
SettingWhat it does
WidthMaximum width of the embed. Facebook draws pages 180–500 px wide and posts 350–750 px wide; the embed takes the space it has within those limits. Per device.
HeightHeight of the embed. Defaults to 500 px for a page and 600 px for a post. A post cannot resize itself, so choose a height that fits it. Shown when Embed is Page (timeline) or Post. Per device.
Aspect ratioShape of the video. Default: 16:9. Shown when Embed is Video. Per device.
AlignmentAligns the embed. Options: Left, Center, Right. Per device.
Privacy
SettingWhat it does
Load on clickShows a preview drawn by your site; Facebook (and its cookies) load only when the visitor clicks. It also fits the embed to the space it has. On by default.
Button textText of the button on the preview. Leave empty for the default, such as “Show Facebook page”. Shown when Load on click is on.
Privacy noteA short privacy note under the button. Shown when Load on click is on.

Design tab

Box
SettingWhat it does
Border radiusRounds the corners of the embed. Per device.
BorderBorder of the embed.
ShadowShadow of the embed.
Facade

This section shows when Load on click is on.

SettingWhat it does
BackgroundBackground of the preview.
Text colorText color of the preview.
Button backgroundBackground color of the preview button.
Button text colorText color of the preview button.
Button typographyText style or font, size, weight and spacing of the preview button.
Shared Design sections

Every element also has these sections at the end of the Design tab.

SectionWhat it does
Spacing & positionMargin, padding, width, alignment in its container, order, position (relative, absolute, fixed), offsets, z-index and global classes. See Spacing, size & position.
Background & borderBackground, border, border radius, box shadow, overflow and opacity of the whole element. See Colors & backgrounds and Borders & shadows.
MaskCrops the element to a shape (circle, arch, blob, star…) or your own SVG or PNG. See Shape dividers & masks.

Behaviour tab

Behaviour sections

The Behaviour tab is the same for every element.

SectionWhat it does
Anchor & classesAn Anchor ID for #links and your own CSS classes.
AnimationsEntrance, scroll, hover and loop animations from presets or your own timeline. See Motion & effects.
Motion & effectsA simple entrance animation, transforms (also on hover), CSS and backdrop filters, and sticky positioning.
Scroll & mouse effectsMovement, rotation, scale, fade and blur while the page scrolls, and pointer effects (follow the pointer, 3D tilt).
VisibilityHide the element on desktop, tablet or mobile, or in dark or light mode. See Visibility.
ConditionsShow the element only when rules match, such as logged-in visitors, a date range or a URL parameter. See Display conditions.
InteractionsShow, hide or change other elements when this one is clicked, hovered or scrolled into view. See Interactions.
AttributesCustom HTML attributes for this element. See Anchor, classes & attributes.

Tips

  • Size limits. Facebook draws page embeds between 180 and 500 px wide and posts between 350 and 750 px wide. Wider settings are capped by Facebook.
  • Post height. An embedded post cannot resize itself, so pick a Height that fits the post you embed.
  • Public content only. Only public pages, posts and videos can be embedded.
  • Consent. If you use the cookie banner, describe Facebook embeds in your privacy policy. See Cookie consent.