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

How to Automatically Tweet When You Publish a New Post in WordPress

Do you want to tweet your newly published blog posts automatically?

Twitter is one of the best platforms to let your followers know when you publish a new blog. By tweeting new posts automatically, you can save time while growing your Twitter followers and getting more people to visit your website.

In this article, we will show you how to automatically send a tweet when you publish a new post in WordPress.

How to auto tweet new posts in WordPress

Why Automatically Tweet New Blog Posts on Twitter?

With more than 217 million monthly active users, Twitter is a great place to engage with your audience and build a following. In fact, according to our marketing statistics research, users spend around 2 hours and 29 minutes on social media every single day. That’s a huge opportunity to promote your blog posts.

However, it can be time-consuming to manually tweet every time you publish a new post on your WordPress blog.

By using a tool that automatically shares new posts for you, you can keep your Twitter feed active and interesting, no matter how busy you get.

That said, let’s look at how you can automatically Tweet whenever a new post is published on your WordPress website.

Video Tutorial

Subscribe to WPBeginner

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

Automatically Share New WordPress Posts on Twitter Using Uncanny Automator

The easiest and most reliable way to automatically tweet new posts in WordPress is by using Uncanny Automator. It’s the best WordPress automation plugin that helps you create automated workflows without having to write code.

Uncanny Automator

Uncanny Automator seamlessly integrates with all the must have WordPress plugins and third-party tools. 

Think of it like Zapier but for WordPress websites.

For this guide, we will be using the free version of Uncanny Automator since it includes a Twitter integration. However, there’s also an Uncanny Automator Pro version that unlocks more integrations, including Google Sheets, Twilio, Slack, and many others.

Uncanny Automator Pro also comes with advanced features, including delayed actions. This allows you to schedule your tweets for the dates and times when your target audience is most likely to be online.

For more information on how you can save time and money, see our guide on how to create automated workflows in WordPress.

Connect Uncanny Automator to Your Twitter Account

To automatically tweet new WordPress posts, you need to install and activate the Uncanny Automator plugin. For more details, follow our tutorial on how to install a WordPress plugin.

Upon activation, you must first connect your WordPress website with a free Uncanny Automator account, which will give you 250 credits to use with Twitter.

To make this connection, go to Automator » Settings. Then, click on ‘Connect your site.’

Connecting Uncanny Automator to Twitter

This opens a screen containing information on how to connect your WordPress blog to Uncanny Automator.

If you are happy to go ahead, then click on the ‘Connect your free account’ button.

Connecting WordPress to your free Uncanny Automator account

After a few moments, you should see a ‘Setup complete’ popup.

You can now click on the ‘Return to dashboard’ button.

Connecting Uncanny Automator to Twitter

Back in the WordPress dashboard, go to Automator » Settings.

You can then click on the ‘App Integrations’ tab.

Uncanny Automator's app integrations

In the left-hand menu, select ‘Twitter.’

Then, simply click on the ‘Connect Twitter account’ button.

Connecting Uncanny Automator to Twitter

This opens a popup where you can type in the username or email address that’s linked to your Twitter account, along with your Twitter password.

After that, click on the ‘Authorize app’ button.

How to give Uncanny Automator access to Twitter

You will be redirected back to the Uncanny Automator settings page. Now, you are ready to create a recipe that will automatically send tweets when you publish a new blog post.

Create an Automated Workflow

To start, simply head over to Automator » Add New. You’ll be asked to select whether you want to create a recipe for logged-in users or everyone.

You can go ahead and select ‘Logged-in users’ and then click the ‘Confirm’ button.

Select the logged in recipe type

Next, you can give the recipe a name by typing it into the ‘Title’ field. This is just for your reference, so you can use anything you want.

Add Actions and Triggers

Uncanny Automator recipes are made up of actions and triggers. To start, you will need to choose a trigger, which is anything that kickstarts the recipe.

In the ‘Triggers’ section, select ‘WordPress.’

Select WordPress as your integration

You will now see all the different WordPress triggers.

In the dropdown, select ‘A user publishes a type of post with a taxonomy term in a taxonomy’.

Select a trigger

Next, open the ‘Post type’ dropdown and choose the content you want to share on Twitter.

For example, if you want to share all blog posts, then simply choose ‘Post.’ You can then decide if you are going to share posts from a particular category or tag by changing the ‘Taxonomy’ settings.

Choose post type to share on Twitter

When you are done, click on the ‘Save’ button.

Next, you will need to choose the action, which is the task Uncanny Automator will perform when the recipe is triggered. In our case, that’s sharing the post on Twitter.

To start, click on the ‘Add action’ button.

Click add action button

You will now see all of Uncanny Automator’s integrations. For example, there’s a Twilio integration that lets you send SMS notifications from WooCommerce.

Simply go ahead and select ‘Twitter’ as your integration.

The Uncanny Automator Twitter integration

After that, select ‘Post a status to Twitter.’

You will now see some settings where you can create the Twitter status update.

Choose your action for Twitter

You can type plain text into the ‘Status’ box, or you can use tokens. Uncanny Automator will replace these placeholder tokens with unique text, such as the post’s title.

To add a token to your Twitter status, simply click on the ‘*’ and then search for the information you want to add, such as ‘Post title’ and ‘Post URL.’

Add a Twitter status

If you want to add the same image to every tweet, then you can simply paste that picture’s URL into the ‘Image URL’ field. For example, you may want to add your website’s custom logo to every tweet.

Another option is to show the post’s featured image. To do this, click on the ‘*’ button next to the ‘Image URL or Media library ID’ field.

How to automatically tweet featured images using Uncanny Automator

In the dropdown menu, click on the ‘A user publishes a post…’ trigger.

You can then go ahead and click on ‘Post featured image URL.’

Adding a featured image to an automatic tweet

Publish Your Automated Workflow

When you are happy with how the recipe is set up, don’t forget to click the ‘Save’ button. After that, you are ready to publish the recipe.

In the ‘Recipe’ box, click the ‘Draft’ switch so that it shows ‘Live’ instead.

Publish your recipe

That’s it. Now, Uncanny Automator will automatically tweet every time you publish a new blog post on your WordPress website.

We hope this article helped you send automatic tweets when you publish new posts in WordPress. You may also want to look at our tutorial on how to add web push notifications to your WordPress website and our expert picks for the best social media plugins.

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. Here's our editorial process.

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

13 CommentsLeave a Reply

  1. I have been following your website for a long time now… I find you ideas brilliant. Keep it up!

  2. Hi,

    I have a WordPress events listing website and I have set up an auto poster to tweet the event.

    is there a way to send a retweet that eventorganizer or venue to let them know about the WordPress post
    Is there a standard shortcode that is used?

    Thanks in advance

    (I have already been able to use shotcode to set up event title and URL in the auto tweet)

  3. Thank you very much for your post with the step-by-step manual. With the hints in your manual it was really easy to connect my blog with twitter.

  4. Can we get event if new posts has been published on wordpress to call some function or api.

  5. This is a great article . I really like this post and the simplicity of it’s implementation. Personally, I use IFTTT to query a handful of feeds from my site to update Twitter.

  6. What’s the benefit of using this versus the Publicize feature in WP that also allows you to automatically share your posts on Twitter?

  7. I really like this post and the simplicity of it’s implementation. Personally, I use IFTTT to query a handful of feeds from my site to update Twitter.

  8. While Tweeting your latest post is a common request among “bloggers” and web site owners, something many web site owners don’t think about is the impact if you have your own email newsletter (and you should be collecting email names and building your own in-house list)!

    IF you Tweet every new post, no one needs to subscribe to your newsletter!

    If you are both Tweeting and asking for NL subscribes, you could be hurting your own goals, so it would be best to carefully evaluate which option is better for you. Which route you go also depends upon your site goals and purpose, of course.

    All I’m saying is to carefully evaluate IF Tweeting every post is the best process for YOU!

    • Karen we do agree that may be not every post needs to be tweeted. However, we do not agree with the assumption that tweeting the same posts which you are going to include in your newsletter is in any way less effective. Twitter streams give your tweet a very limited exposure time. As soon as a user’s timeline gets new tweets from other people they follow, your tweet will most likely get buried, reducing your chances of getting noticed or clicked. On the other hand, repetition of your brand name, post title, and your updates, help you build brand recognition, trust, and authority. For more exposure we recommend building an email list.


Leave A 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.