When and Why You Should Create a Custom Facebook Feed in WordPress
Facebook is the largest social network site in the world and you may already be using it to promote your content and engage your audience through creating a page or group to your site visitors.
But not all the posts you make on Facebook are not visible to the people visiting your website. By adding a custom Facebook feed you can show what’s happening on your Facebook page or group to your site visitors.
This allows more users to view your post and will get you more Facebook likes. If you are using Facebook remarketing/retargeting pixel on your website, then you can show your ads to those users on Facebook as well.
Adding a Custom Facebook Feed in WordPress
First install and activate the Custom Facebook Feed plugin. The free version does not display images in shared links or status updates so you may want to get the plugin’s PRO version.
Upon activation, you need to visit Facebook Feed » Settings page to configure the plugin settings.
First you need to provide your Facebook page or group ID. If your Facebook page URL is like this:
Then you can use your_page_name as your Facebook page ID. On the other hand, if you have a Facebook page URL that looks like this:
Then you need to use 123654123654123 as your page ID.
If you want to add a group, then you will need to enter your group ID. Simply visit Find My Facebook ID website, and enter the URL of your group in the search box. The website will reveal your Facebook group’s numeric ID.
The next thing you need to enter is an access token. The plugin will work even if you don’t add your own access token, however it is recommended to generate it and add it here.
Simply visit Facebook developers website and click on create new app button.
This will bring up a popup where you need to enter a name for your app. Provide an email address and then select a category for your app. Click on the ‘Create App ID’ button to continue.
Facebook will create an app for you and will redirect you to the app’s dashboard. You need to click on Tools & Support link at the top.
This will bring you to a page with lots of resources on how to use Facebook apps. You just need to click on ‘Access token tool’.
Clicking on the link will take you to a page where you will be able to see your app’s access token or app token.
You can now copy and paste this access token to the custom Facebook feed plugin’s settings page.
Under the settings section on the page, you need to select whether you are showing a group or a page. You can also choose the number of posts to display, timezone, and language settings.
Don’t forget to click on the save changes button to store your plugin settings.
You can now create a new post or page or edit an existing one where you want to display your Facebook feed. In the post editor, you need to add this shortcode:
You can now save your page or post and preview it. It will fetch and display latest posts from your Facebook page or group in your WordPress page.
Showing Multiple Facebook Feeds in WordPress
Let’s suppose you want to display more than one custom Facebook feed on your WordPress site. The plugin’s settings only allow you to add one page or group ID.
However, you can easily use the shortcode to display any other custom Facebook feed you want.
Simply add the shortcode like this:
The plugin’s shortcode comes with a whole range of parameters. You can visit the plugin’s website to see the complete list of parameters that you can use.
How to Customize The Appearance of Custom Facebook Feed
The plugin allows you customize the appearance of the custom Facebook feed on your website. Visit Facebook Feed » Customize page to edit the customization settings.
The customize section is divided into different tabs. Each tab has its own options, you may want to review them to customize the appearance of your custom Facebook feed.