Skip to content
Delete unwanted retweets that show up as tweets due to the broken Twitter<->Facebook integration.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Adds code Feb 7, 2018
constants.js Adds code Feb 7, 2018
index.js Deletes duplicate tweet posted from Facebook. (#1) Mar 31, 2018
package.json Adds code Feb 7, 2018

Retweet Deleter

What, Why

Apparently Twitter<->Facebook connection is broken and every tweet you retweet on Twitter gets posted to Facebook (expected behaviour), but it also gets posted to Twitter again as if it is a Facebook post in itself (unexpected behavior).

I got sick of manually having to delete this extra unwanted tweet every time I retweeted something. So, I wrote this little script that will run every X interval of time to look for my recent tweets and delete the unwanted ones.

Also I can add #nodelete to a tweet to make this script skip deleting it.


  • Make an app on Twitter, get your app's Consumer Key and Consumer Secret.
  • Authenticate your user with the app, get your Access Token and Access Token Secret.
  • Clone this repo and cd into it.
  • Plug these in constants.js along with your screen_name (Twitter handle).
  • npm i
  • node . (Make a CRON job or whatever if you want to run this repeatedly.)
You can’t perform that action at this time.