All Projects → JacksonBates → tweet-delete-bot

JacksonBates / tweet-delete-bot

Licence: other
A bot that deletes and un-favourites tweets that are more than 10 days old. Schedule this to run once a day to become an ephemeral tweep, just like http://twitter.com/JacksonBates

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to tweet-delete-bot

Twitter-bot
Twitter bot which waits for #hashTag and sends weather update of city via tweets
Stars: ✭ 20 (-48.72%)
Mutual labels:  twitter-bot, tweets
rust-trending
A twitter bot (@RustTrending) to tweet trending rust repositories, inspired by @TrendingGithub
Stars: ✭ 113 (+189.74%)
Mutual labels:  twitter-bot, tweets
twitter-bot-bootstrap
Template for creating a twitter bot using python (twython) and heroku
Stars: ✭ 26 (-33.33%)
Mutual labels:  twitter-bot, tweets
Guffer
Guffer tweets based on a daily schedule
Stars: ✭ 12 (-69.23%)
Mutual labels:  schedule, tweets
tweet-delete
Self-destructing Tweets so you too can be cool 😎
Stars: ✭ 68 (+74.36%)
Mutual labels:  twitter-bot, tweets
awesome-twitter-bots
A Curated Collection of the Best Twitter Bots 🤖
Stars: ✭ 99 (+153.85%)
Mutual labels:  twitter-bot, tweets
TgTwitterStreamer
Continous Integration from Twitter to Telegram.
Stars: ✭ 55 (+41.03%)
Mutual labels:  twitter-bot, tweets
Twitter Activated Crypto Trading Bot
Buys crypto through keyword detection in new tweets. Executes buy in 1 second and holds for a given time (e.g. Elon tweets 'doge', buys Dogecoin and sells after 5 minutes). Tested on Kraken and Binance exchanges
Stars: ✭ 92 (+135.9%)
Mutual labels:  twitter-bot, tweets
tradoge
DOGE trading bot for instantly buying and selling DOGE cryptocurrency on Binance when Elon Musk tweets about it.
Stars: ✭ 122 (+212.82%)
Mutual labels:  twitter-bot, tweets
coopboost
Grow your twitter audience.
Stars: ✭ 50 (+28.21%)
Mutual labels:  twitter-bot, tweets
TwitterAutoReplyBot
This is a tiny Python script that replies to a specified number of tweets containing a specified hashtag.
Stars: ✭ 33 (-15.38%)
Mutual labels:  twitter-bot, tweets
TeleTweet
🦉 A telegram Twitter bot that will allow you send tweets!
Stars: ✭ 34 (-12.82%)
Mutual labels:  twitter-bot, tweets
LGBTQ-of-the-day-bot
Twitter bot tweeting fun goofy lgbtq things and queer history of the day
Stars: ✭ 65 (+66.67%)
Mutual labels:  twitter-bot
COVID19Tweet
WNUT-2020 Task 2: Identification of informative COVID-19 English Tweets
Stars: ✭ 26 (-33.33%)
Mutual labels:  tweets
programmer-fa
Programmer Farsi - A bot that brings tweets about programming to your feed.
Stars: ✭ 77 (+97.44%)
Mutual labels:  twitter-bot
twitter-like-bot
This app allows you to automate Twitter liking for specific keywords, hashtags, or even full sentences. The bot uses streaming API which means that everything happens in real time.
Stars: ✭ 30 (-23.08%)
Mutual labels:  twitter-bot
TSNsched
Automated Schedule Generation for Time-Sensitive Networks (TSN).
Stars: ✭ 46 (+17.95%)
Mutual labels:  schedule
covid19.swift
🌐 Small iOS app to show some COVID-19 health, data, news and tweets
Stars: ✭ 25 (-35.9%)
Mutual labels:  tweets
block-twitter-promoted
Block promoted contents including tweets, trends, and, follows, hide more annoying contents, switch to Latest Tweets for home page on Twitter.
Stars: ✭ 25 (-35.9%)
Mutual labels:  tweets
watchman
📆 更夫(watchman)是一款可视化的定时任务配置 Web 工具,麻麻不用担心我漏掉任何更新啦!
Stars: ✭ 40 (+2.56%)
Mutual labels:  schedule

Twitter Delete and Unlike Bot

Warning

Tweet deletion is irreversible.

If you accidentally delete tweets you did not intend, that's your own silly fault for running code you got from a stranger on the internet.

This code is provided as is, you are encouraged to review it carefully before running it to ensure it does what you think it will do.

I take no responsibility for erroneously deleted tweets!

My personal Twitter profile uses this bot every day. If you want to see what it looks like when I eat my own dog food, my timeline is here: @JacksonBates. I've tweeted thousands of times, but there is most likely around 100 or fewer tweets in my timeline at any given point.

Features

Designed to be run on a schedule, or simply from the command line.

npm start triggers two bot actions:

  1. Tweets older than 10 days will be deleted;

  2. Liked / Favourited tweets older than 10 days will be unliked / unfaved.

You can 'save' tweets from being deleted by liking your own tweets. Yes, this is a little like smelling your own toots, but it is the price of preserving your wittiest tweets. Once you no longer want to save them, unlike them again and they will be deleted the next time the script runs.

Setup

  1. Create your own Twitter App at https://apps.twitter.com/app/new

  2. Obtain the API keys: API Key, API Secret, Access Token and Access Token Secret

  3. If you are planning on keeping your code on a public repo like GitHub, then store these keys in a .env file and remember to add the file to your .gitignore file. You can also use the .env file to manage your environment variables via the dotenv npm package include in the package.json.

    .env file formatting:

CONSUMER_KEY=U************************o
CONSUMER_SECRET=U*******************************************S
ACCESS_TOKEN=2******5-T************************************e
ACCESS_TOKEN_SECRET=K*******************************************k
  1. If you are hosting via Heroku, remember to set the variables manually for your app.

  2. To customise for your own Twitter account, change the value exported by the screen_name.js file in the src folder to your screen name. For obvious reasons, you can only delete your own tweets!

  3. Schedule! On a Linux machine, you may want to set up a cronjob. Windows users can use Task Scheduler. Alternatively, you can host this for free on Heroku and have the Heroku Scheduler add-on run it for you remotely.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].