Giter VIP home page Giter VIP logo

tweet-delete's Introduction

Tweet-delete

This is a fork of edds/tweet-delete: A lambda which will delete tweets older than a defined time period from twitter. This fork also removes likes.

Installation

This assumes you've already set up your AWS account to work with serverless.

Make a copy of config.example.yml and name it config.yml.

Create a new twitter app and paste the relevant keys and secrets into your new config.yml.

In your terminal run:

$ npm install
$ npm run deploy

The lambda will now run once a day. It will delete any new tweets and remove any likes which are older than the allowed time. The first run through will take longer as it clears out old tweets.

Caveat

This will only delete your 3,200 most recent tweets. That's all that will get returned on your timeline, so if you're just trying to clear that it will work. If you want to delete more than 3,200 you'll need to download you data from twitter (which you can do in the account settings) and pull the older tweet id's out of the files.

tweet-delete's People

Contributors

edds avatar notlee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.