Skip to content

Commit

Permalink
Add README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
landaire committed Oct 21, 2016
1 parent 57f11d1 commit c3bdfb1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# detweet

Have some spam on your profile? Maybe an association with someone you want to get rid of? detweet allows you todelete tweets before or after a specific date that match a given regular expression.

## Usage

### Set up your API credentials

1. Create an application for use with this script (https://dev.twitter.com/apps)
2. Get your client token/secret and access token/token secret
3. Create a credentials file containing:

```
export CONSUMER_KEY=''
export CONSUMER_SECRET=''
export ACCESS_TOKEN=''
export ACCESS_TOKEN_SECRET=''
```

Replace the empty strings with their respective values.

In your terminal run:

```
source credentials
```

### Example run

```
$ ./detweet.py --csv ~/Downloads/tweeter_archive/tweets.csv --before '2014-06-01' 'some(thing)?' 'maybe a swear here'
```

0 comments on commit c3bdfb1

Please sign in to comment.