Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dariusk/tweetYourArchive
- Owner: dariusk
- License: mit
- Created: 2013-02-26T13:44:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-15T03:25:08.000Z (over 11 years ago)
- Last Synced: 2024-10-30T20:11:41.523Z (14 days ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
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!