Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dariusk/tweetYourArchive

Set up a bot to tweet your twitter archive, on a delay.
https://github.com/dariusk/tweetYourArchive

Last synced: 3 days ago
JSON representation

Set up a bot to tweet your twitter archive, on a delay.

Awesome Lists containing this project

README

        

# TweetYourArchive

This will let you set up a bot that tweets your twitter archive, on a delay. (Note: when it @replies or does a #hashtag, it replaces `@` with `.` and `#` with `*`. This is so it's a good Twitter citizen and doesn't spam people or pollute hashtags.)

## Adding your tweets

Get your Twitter archive .zip file from Twitter, unzip it, and put the contents of the "data/js" directory in the `tweets` directory here. So that directory should look something like:

```
payload_details.js
tweet_index.js
tweets/
user_details.js
```

The `tweets/tweets/` folder should contain a bunch of .js files.

## Installation instructions

Requires [node](http://nodejs.org/) and [npm](http://npmjs.org/) (installing node installs npm too). You also need a Twitter App access token, consumer key, and associated secrets. [You can get those here](https://dev.twitter.com/apps/new). You'll probably also want a fresh twitter account for your bot, though you could have it post to one you already own, too!

Clone the repo, then in your project directory, install the dependencies:

`$ npm install`

Next, edit `config.js` to include your Twitter App access token, consumer key, and associated secrets. This is important! Without this you'll be unable to tweet.

`$ node tweetYourArchive.js`

This should get the tweeting started!