A tool that allows you to run a raffle on twitter, asking the user who won to follow another user.
This is a community project, free and open source. Everyone is invited to contribute, fork, share and use the code.
npm install -g twitterraffle
Create a credentials file named .twitter_credentials.json
inside your home dir:
{
"consumer_key": "xxx",
"consumer_secret": "xxx",
"access_token_key": "xxx",
"access_token_secret": "xxx"
}
To create this file you have to create a twitter application. Go to apps.twitter.com and do it. It is really simple.
Usage:
twitterraffle <query> <user>
twitterraffle -h | --help | --version
Set then environment variable DEBUG
to twitter
and you will see debug info.
Make sure the lint passes and the code works.
- Giovanni Bassi, aka Giggio, Lambda3, @giovannibassi
Contributors can be found at the contributors page on Github.
Twitter is the best option.
This software is open source, licensed under the Apache License, Version 2.0. See LICENSE.txt for details. Check out the terms of the license before you contribute, fork, copy or do anything with the code. If you decide to contribute you agree to grant copyright of all your contribution to this project, and agree to mention clearly if do not agree to these terms. Your work will be licensed with the project at Apache V2, along the rest of the code.