Magento Facebook Feed extension

Create your Facebook Feed extension
Screenshots
Why use Elfsight Facebook Feed on Magento
Bring your Facebook page or profile to a Magento page: posts, videos and photos with albums appear together in one feed.
Edit the feed in the Elfsight editor and your storefront updates with it – the code in Magento stays the same.
Key Features of the Magento Facebook Feed
- Posts, videos and photos – show all three content types in one feed.
- Pages and profiles – connect either one as the source.
- Photos, albums or both – choose what the gallery shows.
- Post limit – set how many posts appear.
- Like and Share buttons – show them in the feed header.
Check all the features in the live editor.
Made for Magento 2
- No module – paste the code with Magento’s own Admin tools: the HTML Code element in Page Builder, a CMS block or Design Configuration. There is nothing to install in your store.
- Not part of your store code – the feed loads from Elfsight servers, so there is no module to re-check after Magento updates.
- One CMS block, many pages – show the same feed on all product pages, in categories or on every page through Content → Widgets, without editing templates.
- Several store views – use one code for all store views, or set up a different feed for each language.
How to add Facebook Feed to Magento
The installation code is generated after the widget is set up in the Elfsight editor. Copy it, then add it to Magento with one of the methods below.
Good to know: Page Builder, the WYSIWYG editor and the preview in Magento Admin may show the code or an empty container, because the widget script may not run there. Always check the feed on your storefront. After you edit blocks or widgets, refresh the cache in System → Tools → Cache Management.
Method 1: Add the feed to a CMS page with Page Builder
Page Builder is available in Adobe Commerce from 2.3.1 and in Magento Open Source from 2.4.3.
- In Magento Admin, go to Content → Pages.
- Find your page and click Select → Edit.
- Expand the Content section.
- In Page Builder, open Elements and drag HTML Code onto the stage.
- Hover over the element and click the Settings icon.
- Paste the installation code into the text field and click Save.
- Click Save on the page to publish your changes.
- If Magento shows a cache message, go to System → Tools → Cache Management and click Refresh.
- In the pages grid, click Actions → View and check the feed on your storefront.
Method 2: Add the feed to a CMS page without Page Builder
- Go to Content → Pages, click Select → Edit next to your page and expand the Content section.
- Click Show / Hide Editor to switch to HTML.
- Paste the installation code where the feed should appear.
- Click Save to publish your changes.
- If Magento shows a cache message, go to System → Tools → Cache Management and click Refresh.
- Open the page on your storefront and check the feed.
Method 3: Show the feed on all product pages or categories
- Go to Content → Blocks and click Add New Block.
- Set Enable Block to Yes and fill in the Block Title and Identifier.
- In Page Builder, open Elements → HTML Code → Settings and paste the installation code. Without Page Builder, click Show / Hide Editor and paste it in HTML.
- Click Save to create the block.
- Go to Content → Widgets and click Add Widget.
- Choose CMS Static Block as the Type, select your theme and click Continue.
- Enter a Widget Title and choose the store views.
- Open Layout Updates, click Add Layout Update and set Display on to All Product Types (or choose categories or all pages).
- In Widget Options, click Select Block… and choose your block.
- Click Save to publish the widget.
- Refresh the cache in System → Tools → Cache Management and check your storefront.