Definitely, Facebook is the biggest social media platform in the world. Due to the large number of users, creating Facebook page or Facebook group about your website or products can make a huge impact for your business growth. Do you know that you can display your Facebook feed from your Facebook page or group into your WordPress website? Adding Facebook feed is a way of showing what’s happening in your Facebook group or page to your website visitors. This will boost your Facebook page and help you get more likes. In this article we will see How to display custom Facebook feeds in WordPress website.
How to Display Custom Facebook Feeds in WordPress Website
The easiest way is to use a reliable plugin. We will be using a plugin called Custom Facebook Feed. This is a highly popular plugin with more than 200,000 downloads and wonderful review from its users. In order to install the plugin, first you have to login to your admin dashboard and then navigate to Plugins > Add new. Search for keyword Custom Facebook feed. Install the Custom Facebook feed plugin by Smash Balloon. You can also download the plugin from this link and upload the downloaded plugin folder to the /wp-content/plugins/ of your WordPress file structure.
Once installed go to Plugins > Installed plugins and activate the plugin. After activation, you can configure the plugin by going to Facebook feed >Settings.
Enter details like your Facebook page id. ID can be found from the URL of the page. If your URL is like https://www.facebook.com/your_page_name, then your_page_name is the ID. You can also find your page ID from Find My Facebook ID. After configuring all the details save the setting page.
Now you have to visit the Facebook Developers page. If you have never visited Facebook for developer page before, then first you will need to register yourself as Facebook Developer by clicking the register now button.
Next thing you are asked is to create the new app ID. You will get a pop up box where you will need to accept the Facebook policies and then enter app display name, your email address and select a category.
Once you have successfully created the new app you will be directed to the app dashboard. Next you will need to test the app by generating the access tokens for app. Click the tools and support link at the top menu. Then select access token tool.
Now you will see the app token in the page.
Just copy the app token and then paste this token to the setting page of the plugin we installed earlier. Save the changes by clicking the save changes button.
Displaying your Feed
To display your feed in the website, you can paste this shortcode in the post, page or widget where you would like the feed to show up.
Save your page or post and view it in website. You should see your Facebook page or group feed in your WordPress website.
Note: If you want to display multiple feed you can use option directly in the shortcode. The options in shortcode will override your settings. Here is an example Shortcode for multiple feed.
[custom-facebook-feed id=some-other-page-id num=3 height=500px]
You can also checkout the full list of the option from here.
Customizing your Feed
You can use the customize page to edit your feed settings by going to Facebook Feed > Customize.
We hope that this article on how to display custom Facebook feeds in WordPress website was helpful. You can also check our other article on “How to Add Email Subscription to WordPress using MailChimp“.
Latest posts by Kantiman Bajracharya (see all)
- What are Different WordPress Theme Licensing Terms? - December 21, 2017
- 4 Tips to Optimize Your WordPress for Social Media Share - November 30, 2017
- What is WordPress? Is WordPress Free? Why is WordPress so popular? - November 22, 2017