Skip to content
ONLINE 101010 TECH 010101 TIPS
  • Latest
  • News
  • How-To
  • Social
  • Streaming
  • Gaming
  • Reviews
  • Latest
  • News
  • How-To
  • Social
  • Streaming
  • Gaming
  • Reviews
  1. Home/
  2. Social Media/
  3. How To Create a Retweet Twitter Bot

How To Create a Retweet Twitter Bot

Mark O'Neill
May 12, 2019
5 min read
 - twitter

One of the things that powers Twitter is retweets. This is where a Twitter user copies someone else’s tweet to their own page, either with their own comment or without. It is their way of supporting that tweet, promoting it, or if it personally mentions the retweeter, showing other people what is being said about them.

If you are retweeting mentions of yourself to promote yourself or your business, you will know the value of such retweets. They are what’s called “social proof”. If lots of people are singing your praises, it shows others that you are someone worth watching. As a writer and author, this is invaluable advertising for my brand.

But unless you have lots of time to spare for Twitter, you are going to need to automate the whole retweeting process. This is why you should consider setting up a retweet bot.

What Is a Bot?

A bot is a scripted program which runs on a network (in this case, Twitter) and it interacts with others as if it were human. Bots have increased in daily online usage over the past few years thanks to Facebook Messenger. But on Twitter it is nothing new and have been around for many more years.

You can tell it to do certain tasks provided certain criteria is met. So if a retweet comes in and it meets all of the criteria you have specified, it will then do what you tell it to do – in this case, repost it to your page.

What Is a Bot? image

But you need to be very careful because some people (including Twitter) may see this as spam. If so, your account could be shut down. So for the initial few days or week, keep an eye on your Twitter account. If things start to look a bit too spammy, deactivate the bot.

Another thing to bear in mind is that mentions on Twitter could be a complaint instead of a compliment. If your bot retweets that, well you are giving the complaint a pair of legs!

Let’s Get The Bot Born!

Assuming I haven’t put you off the idea of a retweet bot, let’s make you a proud parent of one.

First, go to the Twitter Developer section and click “Create an app”.

 - create an app

You will have to apply for a developer account (assuming you haven’t already got one). This approval can take a day or two. You will have to be patient until you hear back. There’s no way to rush the process.

When you have the permission, click on “Create an app” again and complete the details. There are only four “required” questions. You have to give your app a name, explain its purpose (twice) and give a website address. You can complete the rest if you want but it is not necessary.

 - app details

Click “Create” at the bottom and the “Developer Terms” will come up.

 - developer terms

Quickly scan them and click “Create” again to complete the process.

On the next page, click “Keys and tokens” at the top.

 - keys and tokens

Then scroll down to “Access token and access token secret”. Click on “Create” for Twitter to make those keys for you.

These keys must be kept secret. Do not reveal them to anybody.

Now we take advantage of a tool made by the fantastic Amit Argawal of Digital Inspiration. He made a Google script called Twitter Bots. Click on this link and authorize Twitter Bots with your Google account..

Once you have done that, you will see this screen.

 - create twitter bot

From the Twitter Developer page, add your API keys into the spaces provided on Amit’s page seen above.

Then add the Twitter search you want the bot to perform for you. So if you want to monitor all mentions of your username, you would add your username to this line (with the @ at the start).

Select the action you want from the drop-down list. In this case, it’s “Retweet Tweet”.

 - retweet tweet

Now test it by clicking the “Check” button. This will send the bot into Twitter to bring back results based on your Twitter search criteria.

This is what it came back with for me.

 - tweets

This shows that it is working. If everything looks OK, click “Save” and the bot has been born. Congratulations. It’s an “it”!

Remember to bookmark the Twitter Bots page where you have entered your API keys information. If you need to change anything or switch the bot off, this is the page to come back to.

Now watch your Twitter page and eventually retweets will start to appear.

Other Search Terms

As I said at the beginning of the article, you need to keep an eye on your Twitter account in the early days of the bot. You don’t want spam being retweeted to your account, otherwise you will end up losing followers, and worse case scenario, you will have your account suspended by Twitter.

If all else fails, you will have to deactivate the bot but before you go that far, you could add other search terms to narrow the results. For example, here are three good ones.

#hashtag

Obviously replacing hashtag with the actual hashtag you want to watch. This is good for promoting Twitter contests you may be running.

yourwebsite.com

Replacing yourwebsite with the name of the website you want to monitor.

min_retweets:5

This one could help tremendously with the spam problem. Adding this will only retweet something if it already has a minimum 5 retweets by other people. You can change 5 to whatever number you want.

Tags: X (Twitter)
Share
Written by

Mark O'Neill

Mark O'Neill is a British award-winning fiction author now living in Würzburg, Germany. He is the creator of the acclaimed Department 89 spy thriller series and the Scorpion novels. <a href='https://www.online-tech-tips.com/author/markoneill/'>Read Mark's Full Bio</a>

View Mark's Profile

Recent Posts

  •  - personal finance tools
    10 AI Money Apps That Make Mint Look MedievalJun 6, 2025
  •  - smartwatches
    Is a Smartwatch Worth It in 2025 and Beyond?May 20, 2025
  •  - slow wifi
    How to Fix Slow Wi-Fi on Your SmartphoneMay 6, 2025
  • Programmer coding at computer. - vibe coding
    Vibe Coding 101: Your Guide to AI-Powered ProgrammingMar 26, 2025

Search

Categories

  • Gaming (345)
  • How-To (1,122)
  • News (43)
  • Reviews (438)
  • Social Media (461)
  • Streaming (174)
  • Uncategorized (4)

Popular Tags

Adobe AI Alexa Amazon Android Buying Guides ChatGPT Chrome Discord Explainers Facebook FireTV Gadget Reviews Gmail Google Google Docs Google Maps Google Sheets Home Networking Hulu Instagram Internet LinkedIn Minecraft Netflix Nintendo Switch PlayStation Premiere Reddit Remote Work Roblox Roku Roundups Smart Home Snapchat Software Reviews Spotify Steam TikTok Twitch VR WhatsApp Windows X (Twitter) YouTube

Our Publishing Family

Online Tech Tips is part of the AK Internet Consulting publishing family.

  • HELP DESK GEEK
  • THE BACK ROOM TECH
  • SWITCHING TO MAC
  • XBOX ADVISOR

Daily Email Newsletter

Connect With Us

About Online Tech Tips

Online Tech Tips has published easy-to-follow technology tutorials, honest reviews, and practical how-to guides since 2007 — helping millions of readers solve tech problems and get more from their devices.

Learn More →

© 2007-2026 Online Tech Tips.com, LLC. All Rights Reserved.

  • Home
  • About Us
  • Editorial Standards
  • Contact Us
  • Terms of Use
All systems operational