WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Embed Facebook Albums in WordPress

How to Embed Facebook Albums in WordPress

Last updated on January 11th, 2021 by Editorial Staff
79 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Embed Facebook Albums in WordPress

Do you want to embed Facebook albums into your WordPress website?

Embedding Facebook albums is a great way to boost social engagement on both your WordPress website and your Facebook page.

In this article, we’ll show you how to easily embed Facebook albums in WordPress, step by step.

Embedding Facebook albums in WordPress posts and pages

Embedding a Facebook Album in WordPress

WordPress used to come with built-in embed support for Facebook albums. Just like you embed a YouTube video, all you had to do was to copy and paste the URL of any Facebook album and WordPress automatically fetched and displayed it.

However, all of this changed recently when Facebook and Instagram made changes to their API. These changes made it impossible for WordPress to continue oEmbed support for Facebook and Instagram.

Now if you paste a link to a Facebook Album, WordPress will show you a message that ‘Sorry, this content could not be embedded’.

Facebook embed error in WordPress

You can convert it to a link, but that wouldn’t display your album and instead take users to Facebook to view your photos.

Luckily, our sister company Smash Balloon created a fix for Facebook and Instagram embeds in WordPress.

This allows you to easily embed Facebook albums in your blog posts, pages, and widgets with even more features and functionality.

Embed Facebook Albums in WordPress with Smash Balloon

Smash Balloon is the best Facebook plugin for WordPress which allows you to easily display your Facebook feed on your website to boost engagement and get more likes.

First, you need to install and activate the Smash Balloon Custom Facebook Feed plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Once activated, go to the Facebook Feed » Settings page and then click on the ‘Licence’ tab. From here you need to enter your license key which can found under your account on the Smash Balloon website.

Enter your Smash Balloon license key

Next, you need to click on the ‘Configuration’ tab and then click on the big blue button to connect your Facebook account.

Connect your Facebook account

You’ll be able to choose whether you want to connect to a Facebook page or a group. We’ll connect to a page for this example, but you can connect to a group and share those albums as well.

Select Your page

This will take you to Facebook where you will be asked to log in to your Facebook account and click on the Continue button.

Login to Facebook and continue

After that, you will be asked to select which Facebook page(s) you would like to connect. Simply check the boxes next to the pages that you want to connect to your WordPress site.

Select Facebook pages to connect with WordPress

Click on the Next button to continue.

You’ll be asked to select permissions for the page. Make sure that they are all turned on otherwise Smash Balloon may not be able to fetch content from your Facebook account.

Finish Facebook connection wizard

After that, you can click ‘Done’ to finish setup.

You’ll be now redirected back to your WordPress website where the plugin will ask you to select which page(s) you want to use. Simply click to select the page(s) and then click on the ‘Connect this page’ button to continue.

Connect Facebook pages to Smash Balloon

Smash Balloon will now show your page as connected. Don’t forget to click on the ‘Save Settings’ button to store your changes.

Displaying Your Facebook Albums in WordPress Using Smash Balloon

Smash Balloon is highly customizable and offers multiple ways to display your Facebook albums in WordPress.

1. Display All Your Facebook Albums

This method is easier and allows you to show all your Facebook albums in a WordPress post or page. Users can then click to view photos in your albums in a lightbox popup.

Simply go to Facebook Feed » Customize page and scroll down to the Post Types section.

Display albums feed

From here, you need to uncheck all other items except Albums. You will see a few options like album source, title, and other settings. You can leave them unchanged if you are unsure.

Go ahead and click on the Save Changes button at the bottom of the page to save your changes.

Now, you need to edit the post or page where you want to display your Facebook albums. On the content editor screen, click on the add new block button (+) and then add Custom Facebook Feed block to your content area.

Custom Facebook Feed block

The plugin will then automatically fetch albums from your Facebook page and display a preview of them in the content area. You can now save your changes and preview the post / page to see your albums in action.

Facebook albums displayed in a grid layout

You’ll see your Facebook albums listed in a neat grid layout. Clicking on the album will open it in a lightbox popup.

Facebook album lightbox popup in WordPress post

2. Display a Specific Facebook Album in WordPress

Smash Balloon also allows you to easily embed a specific Facebook album anywhere on your WordPress site.

For that, you’ll need their Album addon which comes with the ‘Smash’ plan.

Simply go to the Facebook Feed » Extensions page and click on the Get This Extension button.

Get album extension

This will take you to the Smash Balloon website where you can purchase the extension or upgrade your plan.

After that, you can download and install the extension like you would install any WordPress plugin. Upon activation, return to the Facebook Feed » Extensions and check the ‘Activate’ option under the Albums extension.

Activate album extension

Don’t forget to click on the Save changes button to store your settings.

You are now ready to embed any Facebook album from your page or group to your WordPress blog.

First, you will need to find the ID for the Facebook album that you want to embed. Simply visit Facebook and open the album and you’ll see the album ID in the URL field.

Get album ID

For instance, your album URL may look like the following.

https://www.facebook.com/media/set/?vanity=YourPageName&set=a.141148357810432

In this URL, the numeric string after the set=a. is your album ID.

After obtaining the album ID, you can copy and paste it somewhere safe. You’ll need it in the next step.

Now, simply edit the post or page where you want to display the album. On the post edit screen, you need to add the shortcode block to the content area.

Inside the shortcode block, you’ll need to enter the following shortcode.

[custom-facebook-feed album=YourAlbumID]

Shortcode block

Don’t forget to replace the YourAlbumID with your own album ID that you copied earlier.

You can now save your changes and preview your post or page to see your Facebook album embedded in WordPress.

Preview of a single Facebook album embed in WordPress

We hope this article helped you learn how to embed Facebook albums in WordPress. You may also want to check out our guide on how to create a custom Instagram photo feed in WordPress, and how to create an email newsletter to connect with your visitors after they leave your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

79 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

Comments

  1. Congratulations, you have the opportunity to be the first commenter on this article.
    Have a question or suggestion? Please leave a comment to start the discussion.

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
All in One SEO
Improve website SEO rankings with AIOSEO plugin. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
Keep Your WordPress Content Safe with BackupBuddy
BackupBuddy Coupon
Get 25% off BackupBuddy, the best and most popular WordPress backup plugin.
ShowThemes
ShowThemes Coupon
Get 20% off on ShowThemes beautiful WordPress themes for event websites.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.