takanakahiko / tweet-deleter

Delete your 2 or more days ago tweets Automatically.
MIT License
31 stars 10 forks source link

image

tweet-deleter

Deploy

Whats this?

Delete your 2 or more days ago tweets Automatically.

Usage (local)

fork and clone and ...

$ cp _env .env

or

$ export CONSUMER_KEY=XXXXXXXXXXXX
$ export CONSUMER_SECRET=YYYYYYYYYYYYYYYYYY
$ export ACCESS_TOKEN=ZZZZZZZZZZZZZZZZZZZZZZZZ
$ export ACCESS_TOKEN_SECRET=HOGEEEEEEEEEEEEEEEEEEEEEE

and

$ npm i
$ npm run start

Usage (Heroku)

  1. push [Deploy to] button on top of this page
  2. Set Secrets on Deploy View ( CONSUMER_KEY / CONSUMER_SECRET / ACCESS_TOKEN / ACCESS_TOKEN_SECRET)
  3. Set Heroku Scheduler. recommend once a day at 0 oclock. like a this

Image from Gyazo

License

MIT © takanakahiko