Twitter Auto Retweeter

Automatically Retweet a selection of Tweets

Share:  
Table of Contents

Auto-Retweet your Friends' and Favourite Influencer's Tweets!

Some content is always a good fit for your audience. And you systematically feel like Retweeting it. Instead of doing it by hand and taking the chance to miss some quality Tweets, set this process on automatic and focus on the real thing: creating the quality content.

Retweeting is also a great way to get noticed by people you like and wish to meet.

ℹ️ Recommendations

Twitter is limiting users to a maximum of 2400 Tweets per day. This includes Retweets.

⏳ Execution speed

This API will Retweet on average 7 Tweets per minute.

What do you need? ⚙️

  • "Spreadsheet URL": Link of a publicly accessible spreadsheet containing a list of twitter profile URLs.
  • "Session Cookie auth_token": Your Twitter auth_token session cookie.

Which steps to follow?

1. Create an account on Phantombuster.com 💻

If you haven't already, create a FREE account on Phantombuster. Our service will browse the web for you. It’s a website automator which runs in the cloud. Once done we'll follow up.

2. Use this API on your account.👌

Now that you're connected to Phantombuster, Click on the following button (it will open a new tab).

3. Click on Configure me!

You'll now see the 3 configuration dots blinking. Click on them.

4. Create a nice Spreadsheet

In the "Spreadsheet URL" field, paste the URL of a spreadsheet filled with Twitter profile URLs, all on column A.

The API will like tweets of those profiles over time.

If you do not put the profile URLs in the first column, you can specify the name of the column you used thanks to the "Column name" field in the configuration.

To get Twitter profile URLs, you can use our other Twitter APIs such as Follower Collector, Following Collector or Profile URL Finder.

5. Get your Twitter Session cookie

The Session Cookie you'll need to make this API work is called "auth_token",
Here's how you can get yours:

  • Using Chrome, go to your Twitter homepage and open the inspector
    → Right click anywhere on the page and select “Inspect”
    CMD+OPT+i on macOS
    or
    F12 or CTRL+MAJ+i on Windows

  • Locate the “Application” tab

  • Select “Cookies” > “https://www.twitter.com” on the left menu.

  • Locate the “auth_token” cookie.

  • Copy what’s under “Value” (Double click on it then Ctrl+C) and paste it into your script Configuration.

// How to access your cookies with Edge, Firefox and Safari //

6. Configure repetitive launches

Twitter will limit this automation over time (if you force this, you can be banned from Twitter).

That is why this API will only like up to 10 tweets per launch. To like many tweets, simply configure repetitive launches. All your follow requests will be spread out over days or weeks if necessary.

To do so, simply hit the “Settings” button to define when your API is launched.

Then, select a frequency:

Now that this is set, click 💾 Save at the bottom of the page.

Click on Launch & Enjoy!

It’s done! All that is left to do is to click on "launch" to try your script!

More bots like this one will be added to Phantombuster,

stay tuned & check our API store!💗

Don't forget to like our amazing tweets @phbuster 😜

⚙ ️HTTP API 🤓

If you want to use this API programmatically you can replace the argument spreadsheetUrl by queries which must be an array of Twitter handles or Twitter profile URLs (strings). Additionally, you should set noDatabase to true so that the API does not maintain a state on its own (so that you can re-launch the same query to unlike tweets for example).

It should look just like this :
{ "queries": ["ms_laurynhill", "nas"], "noDatabase": true, "sessionCookie": "xxxx" }

Output

This API will output CSV and/or JSON containing the following fields:

  • url (Tweet URL)
  • likes (Likes count)
  • rt (Retweets count)
  • replies (Replies count)
  • timestamp (Time when retweet action was made)

Share this API

Your friends & colleagues need to know about this!