How to automatically share WordPress posts on Facebook

How to automatically share WordPress posts on Facebook

Writing blog posts isn’t enough: Someone needs to actually read them. Your Facebook page is a good place for people to find your articles, but only if you remember to actually post them.

WordPress powers a little more than one-third of all sites on the web, including more than a few blogs. If your site runs on WordPress, you can use Zapier to quickly share your posts with fans of your Facebook page. Through our automated workflows—we call them Zaps—you can send information from one app to another. 

Don’t use WordPress for your blog? Keep reading and we’ll show you how to connect a Facebook page to an RSS feed, allowing you to automatically share posts from basically any website.

New to Zapier? It’s workflow automation software that lets you focus on what matters. Combine user interfaces, data tables, and logic with 6,000+ apps to build and automate anything you can imagine. Sign up for free.

Before you begin: Install the Zapier plugin

Before you can create your Zap, you’ll need to install our free WordPress plugin and activate it on your site. This plugin allows Zapier to find and make changes to content on your site through any Zaps you set up. Once you’ve activated the plugin, we can move on to the fun part: creating your automated workflow.

How to share WordPress posts to a Facebook Page

Zapier lets you create automated workflows called Zaps, which send your information from one app to another. You can create your own Zap from scratch without any coding knowledge, but we also offer quick templates to get you started.

If you’d like to start with a template, click on the Zap template to go to the Zap editor. You’ll need to create a Zapier account if you don’t already have one. Then, follow the directions below to set up your Zap.

This template is best for sharing text-based WordPress posts to Facebook. If your blog focuses more on images than text, you can share your posts as images. Here’s a template for that:

Create your WordPress trigger

Once you’re in the Zap editor, you’ll need to set up your trigger first. A trigger is the event that will start your Zap. Search for and select WordPress as the trigger app, New Post as the trigger event, and click Continue.

WordPress' New Post trigger selected in the Zap editor.

You’ll be asked to sign in to your WordPress account. Once you’ve connected your account, click Continue. 

For each app you connect, Zapier will ask for a general set of permissions which allows you to be flexible with your Zaps. The only actions Zapier takes on your app accounts are those a given Zap needs to accomplish what you’ve set up.

Now you can customize your trigger step.

Choose Published as your Post Status. Only touch the Post Type box if you want to share new pages or media instead of new posts. (If you don’t understand what that means, don’t worry. Leave that box alone.) Click Continue. 

The trigger setup <a href='https://ittamil.com/how-to-register-a-domain-with-namecheap-for-wordpress' target='_blank' rel='follow'>step</a> in the Zap editor. There are dropdown menus to select a WordPress post type and post status.” class=”eurb20r1 e7ascrl0 css-134qt3o e5cerj40″/></picture></div>
</div>
<p class=Zapier will need to find a recent WordPress post to set up the rest of the Zap. Click Test trigger. Once Zapier has your test data, click Continue with selected record

A set of sample WordPress data in the Zap editor.

Set up your Facebook action

Now you can set up your action—the event your Zap will perform whenever you publish a WordPress post. 

Select Facebook Pages as your action app and Create Page Post as your action event.

Facebook Pages' Create Page Post action selected in the Zap editor.

If your blog mainly publishes videos or photos, you can select Create Video Post or Create Photo Post instead. Then, click Continue. 

Next, connect your Facebook account, if you haven’t already, then click Continue.

After you’ve signed in to your Facebook account, you can set up how your post will look. 

Setting up the Facebook Page Post action in the Zap editor. Data from WordPress is selected for the Message and Link URL fields.

Note that you can click within any field to pull in information like headlines and featured images from your WordPress post. 

Click Continue once everything is set up just the way you like it. You’ll need to send a test post over to Facebook to make sure your Zap is set up how you like it. You can always skip the test, but we highly recommend testing your setup first.

If your Zap is set up correctly, you’ll see a new post on your Facebook page featuring content from your WordPress blog!

A successful test of Facebook Pages' New Page Post action in the Zap editor.

Once you’re happy with everything, you’re ready to begin using your Zap. You’ve now created an automated workflow, without having to write any code.

Connect other websites to Facebook Pages using RSS

Is your blog not running on WordPress? You can still use Zapier to automatically publish your blog posts thanks to RSS.

First you’ll need the RSS URL for your blog. We’ve outlined how to find the RSS feed URL for almost any site, but here’s a quick summary for a few common blog hosts.

  • If a site is hosted on Tumblr, add /rss to the end of the URL. Like this: https://cuteanimals.tumblr.com/rss

  • If a site is hosted on Blogger, add feeds/posts/default to the end of the URL. Like this: example.blogspot.com/feeds/posts/default

  • If a publication is hosted on Medium, add /feed/ before the publication’s name. So medium.com/geekculture becomes medium.com/feed/geekculture

Once you have the RSS feed, you can set up your automation. Get started using these workflows:

You’ll need to paste your RSS feed and then log in to your Facebook account. Check the instructions above to get an idea of how this works.

This article was originally published in July 2019, written by Justin Pot. It was previously updated by Krystina Martinez, and was most recently updated in March 2024 by Hannah Herman.

by Zapier