Recently, one of our users asked if we could cover how to create a custom Facebook feed in WordPress. You can display Facebook posts from your page or group on your WordPress site to improve engagement. In this article, we will show you how to create a custom Facebook feed in WordPress.
Facebook is the world's largest social media platform. As a website owner, you may already be engaging with your audiences on Facebook through your Facebook Page or by creating a Facebook Group.
However, all the posts you publish on Facebook are not visible to people who visit your website. By adding a custom Facebook feed, you can show your site visitors what's happening on your Facebook page or group.
This will allow more users to see your posts and help you get more likes on Facebook. If you are using the Facebook remarketing / retargeting pixel on your website, you can also show your ads to those users on Facebook.
With that said, let's see how to add a custom Facebook feed to your WordPress site.
The first thing you need to do is install and activate the Facebook Custom Feed plugin. For more details, check out our step-by-step guide on how to install a WordPress plugin.
Note: This free version of the plugin does not display images in shared links or status updates. For that you will need the PRO version of the plugin.
Upon activation, you need to visit Facebook Feed »Settings page to configure plugin settings.
First you need to provide your Facebook Page or Group ID. If your Facebook Page URL looks like this:
https://www.facebook.com/your_page_name
So you can use tu_nombre_página
as your Facebook Page ID. On the other hand, if you have a Facebook Page URL that looks like this:
https://www.facebook.com/pages/your_page_name/123654123654123
So you need to use 123654123654123
as your page ID.
If you want to add a group, you will need to enter your group ID. Simply visit the Find My Facebook ID website and enter your group's URL in the search box. The website will reveal the numerical ID of your Facebook group.
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 the Facebook Developers website and click the Create New App button.
This will open a popup window where you will need to enter a name for your app. Provide an email address and then select a category for your app. Click the 'Create App ID' button to continue.
Facebook will create an app for you and redirect you to the app dashboard. You have to click on Tools and Support link at the top.
This will take you to a page with many resources on how to use Facebook applications. Just click on 'Access Token Tool' .
Clicking on the link will take you to a page where you can see your app access token or app token.
You can now copy and paste this access token into the custom settings page of the Facebook feed plugin.
In the page settings section, you need to select whether you are displaying a group or a page. You can also choose the number of posts to display, time zone, and language settings.
Don't forget to click 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:
[custom-facebook-feed]
You can now save your page or post and preview it. It will fetch and display the latest posts from your Facebook page or group on your WordPress page.
Let's say you want to display more than one custom Facebook feed on your WordPress site. The plugin settings only allow you to add a Page or Group ID.
However, you can easily use the shortcode to display any other custom Facebook feed you want.
Just add the shortcode like this:
[ID de feed de Facebook personalizado = wpbeginner]
The plugin shortcode comes with a wide range of parameters. You can visit the plugin's website to see the full list of parameters you can use.
The plugin allows you to customize the appearance of the custom Facebook feed on your website. Visit Facebook Feed »Customize page to edit personalization settings.
The customize section is divided into different tabs. Each tab has its own options, you may want to review them to customize the look of your custom Facebook feed.
We hope this article helped you add custom Facebook fonts in WordPress. You may also want to see our list of the 21 best social media monitoring tools for WordPress users.
If you enjoyed this article, please subscribe to our WordPress YouTube Channel video tutorials. You can also find us on Twitter and Facebook.