Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Automatically Post to Facebook From WordPress

Do you want your blog posts to be automatically posted to Facebook from your WordPress site?

Facebook is one of the largest social media sites in the world with more than 2 billion active users. Sharing your blog posts there will help increase pageviews and drive traffic to your site.

In this article, we’ll show you how to automatically post to Facebook whenever you publish a new WordPress blog post.

How to Automatically Post to Facebook From WordPress

Why Automatically Share WordPress Posts on Facebook?

The easiest way to build a following and staying in touch with your users is by building an email list. Still, you can’t ignore the huge userbase of social media websites like Facebook.

As the largest social media website, Facebook has more than 2 billion active users. This global audience can become a big source of traffic for your WordPress website.

You will need to engage with users on Facebook to build a strong following. This means answering comments, sharing content, and posting regular updates on Facebook.

This can become overwhelming, so we’ve put together a complete social media cheat sheet for WordPress to help you get started.

With that being said, let’s have a look at how to easily post to Facebook when you publish a new post in WordPress.

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, just keep reading.

Automatically Post to Facebook from WordPress Using Uncanny Automator

Uncanny Automator is the best WordPress automation plugin that helps create automated workflows without writing any code.

It connects with 50+ plugins and thousands of apps, including Facebook, Google Drive, Slack, Asana, Twitter, Instagram, and more.

Uncanny Automator

A free version is available and gives you 1,000 free credits to use with Facebook. Once you have used those credits you’ll need a Pro account or higher to continue posting automatically to Facebook.

The first thing you need to do is install and activate the Uncanny Automator plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you will also be asked to install the free version of Uncanny Automator. This light version of the plugin is limited in features but is used as the base for the Pro version.

Next, you need to navigate to the Automator » License Activation page to enter your license key. You can find this information under your account on the Uncanny Automator website.

Uncanny Automator License Key

Connecting Your Facebook Page to Uncanny Automator

Before you can start to create a Facebook automation, you’ll need to connect your Facebook page to Uncanny Automator.

To do that, navigate to Automator » Settings and click on the Facebook tab. Once there, you’ll need to click the Connect Facebook Pages button.

Click the Connect Facebook Pages Button

After you click this button, a popup will appear where you can log in to your Facebook account.

Once you log in you will be asked if you want to continue and let Uncanny Automator receive your name and profile picture. You’ll need to click the ‘Continue as’ button.

Click the Continue Button

Next, you’ll be asked whether you want to use an Instagram business account with Uncanny Automator. You might like to do that if you plan to create automated workflows with Instagram, too.

For this tutorial, we’ll just click the Next button.

You Can Connect Uncanny Automator to an Instragram Business Account

You’ll then be shown a list of your Facebook pages. You need to select the one you wish to post to and then click the Next button.

Select the Page You Wish to Post To

Having done that, you’ll be asked to give Uncanny Automator permission to do certain things with your Instagram account and Facebook page.

You need to answer Yes to the options regarding the Facebook page, and then you should click the Done button.

Give Uncanny Automator Permission

You should answer Yes to the Instagram options as well if you plan to create Instagram automations using Uncanny Automator.

Uncanny Automator is now linked to Facebook and you should click the OK button to finish the setup.

Uncanny Automator Is Now Linked to Facebook

Automatically Posting to Facebook from Uncanny Automator

Now we’re ready to create an automated workflow to post to Facebook. Uncanny Automator calls these ‘Recipes’. Simply navigate to the Automator » Add new page to create your first recipe.

You’ll be asked to select whether you want to create a ‘Logged-in’ recipe or an ‘Everyone’; recipe. You should select ‘Logged-in users’ and then click the Confirm button.

Select 'Logged-in Users'

You can now start to build your first Uncanny Automator recipe.

First, you’ll need to add a title. We’ll call the recipe ‘Automatically Post to Facebook’ and type this in the title field.

Add a Title

Next, you need to define the condition that will trigger the action. We want to post to Facebook whenever a WordPress post is published. So you’ll need to click the WordPress icon under ‘Select an integration’.

You’ll now see a list of WordPress triggers. You should search for ‘publish’ and choose the trigger called ‘A user publishes a type of post with a taxonomy term in a taxonomy‘.

You'll See a List of WordPress Triggers

For this tutorial, we want to post to Facebook when we publish a blog post, not a page. So we’ll change the post type to Post and leave the other settings unchanged. Don’t forget to save your settings by clicking the Save button.

Change the Post Type to 'Post'

If you only want certain types of content to be posted on Facebook, then you can choose a single category or tag by selecting the appropriate options from the Taxonomy and Taxonomy term drop downs.

Next, you’ll need to choose the action that will happen each time a post is published. Start by clicking the ‘Add action’ button.

Click the Add Action Button

You should now see the list of integrated services that Uncanny Automator supports. Simply click the Facebook button.

Click the Facebook Button

You’ll now see a list of Facebook actions. You should select the option that says ‘Publish a post to a Facebook page’.

Select the Option that Says 'Publish a Post to a Facebook Page

If you have connected to more than one Facebook page, then you’ll need to select the one you wish to post to.

After that, you should type the message in the Message text box that you wish to be published to your Facebook page with each post.

Select the Facebook Page You Wish to Post To

Next, you need to add the post title and URL to the message. You need to press the Enter key to start a new line, and then you should click the asterisk button at the right of the Message text box.

Click the Asterisk Icon

Now you need to click the down arrow icon next to ‘A user publishes a Post’ to access the fields that add information about the post that has been published.

The available tokens include the post type and title, the post URL and content, and more. You should click on ‘Post title’ to insert it into the message.

Click Post Title to Insert It into the Message

Follow the same steps to add the post URL to a line of its own. The message should now look like the screenshot below, and you can customize it to suit your own WordPress site and Facebook page.

Completed Message

Don’t forget to click the Save button to store your action.

If you like, you can set add a delay before Uncanny Automator posts to Facebook. That way you can schedule the post for when your social media audience is most active.

You need to hover your mouse above the Live switch on the right until a Delay button appears. Once you click it you’ll be able to choose whether the action will be triggered after a time delay or on a specific date and time.

Trigger After a Time Delay or on a Specific Date and Time

Now your recipe is complete but inactive. The trigger and action have been set, but won’t be activated when you publish a new post. To change that, you need to switch the toggle button from Draft to Live.

Switch the Toggle Button from Draft to Live

Now that your recipe is live, the next time you publish a post on your WordPress website, a message will also be posted to your Facebook page.

To test this, we published a new blog post on our test site, and this is how the post appeared on our Facebook page.

This Is How the Post Appeared on Our Facebook Page

If you see that the right thumbnail image isn’t appearing, then you can see our guide on how to fix the incorrect Facebook thumbnail issue in WordPress.

We hope this tutorial helped you learn how to automatically post to Facebook from WordPress.

You may also want to learn how to create an email newsletter the right way, or check out our list of must have plugins to grow your site.

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

52 CommentsLeave a Reply

  1. Hi. I want to enable all my users to be able, in an easy way, so that all new WordPress blogs automatically be posted on their own private facebook wall. Is that possible?

    • We do not have a method we would recommend for that at the moment as there would not be an easy way for your users to disable the automated sharing. For the time being, you would want to take a look at plugins to add a share button to your posts.

      Admin

  2. Thanks for the info, however you fail to mention that some of these options may come at a price. For example, with WordPress you can no longer use plug-ins unless you upgrade to a business account. I find that really frustrating, as I used to be able to easily link to my FB page, but now I can’t unless I pay more money? Thanks a lot.

    • These are for Facebook pages, Facebook limits automation for their groups at the moment.

      Admin

  3. Hi guys, great info as always! You should really update the 3rd option, the graph API has been deprecated and now Facebook uses another method, very intuitive and self explanatory.

    • Thank you for letting us know, we will look into updating our article as soon as we are able.

      Admin

    • They may have changed their interface since this article was last updated you should still be able to use their search feature at the top of the page to find an applet.

      Admin

    • Our Facebook group is still active. If you visit our Facebook page and go to the groups tab on the side, you should be able to see the group there :)

      Admin

  4. I found the process for Buffer much easier than described in this post. You just need to sign up for Buffer and connect your social media account(s) there, then install the WP to Buffer plugin, then hit the “Authorize” button in the plugin settings. That’s it. No access token, no callback URL, no creating an app. That is all automated with the Authorize button now, I suppose.

    • Thank you for letting us know, we’ll be sure to take a look at this article :)

      Admin

  5. Hi,

    I tried using IFTTT but it kept telling me invalid WordPress URL. after numerous crosschecks i could see that the URL is correct.

    Please, what can i do about this?

    • Hi Daniel,

      Make sure XML-RPC is enabled on your website. It is a WordPress feature that allows third-party services like IFTTT to connect. Some WordPress security plugins may disable it. See your security plugin settings.

      Admin

  6. How can I include the post updates on ifttt? Because when is new post the notification send normal. But when is a post update it don’t send anything.

    • i am also looking for a way to update the corresponding Facebook post when an update is made to the original post on WordPress. unfortunately most options seem to only allow new posts as triggers. did you ever find a solution?

      thanks.

  7. When I follow the steps for AccessPress Facebook Autopost (which I’ve successfully used before), and I click the box ‘Public’ to make the review public, I now get a dialogue box that asks for a Privacy Policy URL. I’ve only found sites for privacy policy URL development that cost. Is there something general that can be added for free?

    • There’s now an option in WordPress for “Privacy policy”. You can find it in the administrator panel in the “Settings” submenu and than “Privacy”.

  8. I was able to use IFTTT to share my post to Facebook. But the new issue with this, is that Facebook shows description of website, instead of the post description.

    Facebook also used another image thumbnail, instead of the image I used for the post. Please how can I resolve this??

  9. This didn’t work. When I click authorize I get this error below, even after I added my domain and page where I do my posts to the App Domain.

    Can’t Load URL: The domain of this URL isn’t included in the app’s domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

  10. Is there a way that when someone comments on our post that we share to facebook, it displays on our site.

    I know we can have a facebook comment plugin that allows users to comment on post using their facebook account.

    What i don’t know is, If we share our post to facebook, and someone comments on that post on facebook, how can we display that comment on our site

  11. Hi. is there any plugin that uploads the posts automatically to different fb pages according to different categories . for eg: if a particular post is of category tech then it should be shared on fb tech page and if its category is of health that post should be shared on fb page corresponding to it

  12. I have gone through the setup and posted my blog, but it’s not showing up on f.b. Just wondering what I did wrong, or is there a delay to it posting. I posted about 10 minutes ago. Thanks!

    • If it’s your very first post using IFTTT it will take UP TO an hour. This is stated in small print on the applet.

  13. i am trying to use the facebook App method by i am finding it difficult to authorize my account, facebook says (Can’t Load URL: The domain of this URL isn’t included in the app’s domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.). please help soonest thanks..

  14. How do you change the post on Facebook that says…

    “John Doe published an article on WordPress”

    so that ‘WordPress” says something else, like your site’s URL or name?

  15. Hello. I followed the directions to the “T” using the WordPress Plug-In method and see absolutely no postings to my FB page. I even updated a post (thinking any previous posts may not appear), and that didn’t work either. I went to my timeline and feed areas of my FB page and don’t see anything.

    Please assist or I will have no other option but to deactivate this plug-in and start over. :(

    Thank you.

  16. hey nice article i just tried this now on my site using the IFTTT method and it works like a charm. thanks for the tip

  17. Thanks for the tutorial. Does anyone know of a way to post to both the FB profile and FB page (that is joined to 1 FB account as required by FB)? Noted that the IFTTT method requires you to choose to post either to the profile or page, which is the same as Jetpack. Thanks!

  18. Hi,
    on plugin there is now an error and the account can not be authorized.
    Someone told me that giving admin credentials to website is not so good idea,
    so the user which posts website can not be administrator.

  19. Do any of these methods work for Facebook Groups? I’m the administrator for a Closed Facebook Group and I want automate postings news and events on our website to our Facebook Group. Is that do-able?

  20. Hi! I am using Zapier to post automatically on facebook and another social media based on RSS technology.
    Hope it helps.

  21. When I try and enter my hosted wordpress info, it prompts me that I need to enable XML-RPC under my wordpress “Settings/Writing”, but I don’t see a checkbox for this.

  22. People talk about using Buffer more and it is very famous. Never used any such technique since I am not getting enough time so I suppose IFTTT for someone like me would be ideal.
    I wasnt aware of this before so, thank you for sharing this useful info.

Leave a Reply to Kylie 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.