Automatically reply to @kanyewest tweets before regular humans can.
Obligatory npm install
Put your Twitter App credentials and the messages you would like to send (without any @mention) inside the config.json
file.
eg:
{
"user": {
"name": "kanyewest",
"id_str": "169686021"
},
"messages": [
"Please meet me at the Spotted Pig. I've been waiting for you there since that tweet.",
"Size 9, please Kanye.",
"I created this bot just to say thank you, Kanye."
],
"api": {
"consumer_key": "1232131ixsad123",
"consumer_secret": "sad0123102391039da01",
"access_token_key": "lolololoalseowoakdsa",
"access_token_secret": "102391siadonandkanyewestforpresidentsada"
}
}
Then simply run npm start
.
The script will use up every message at least once and then reset the process over again.
- Use at your own risk. More fuccboi code here.
- This script will work for any user, just replace the name and get the user id from here