Commissioned by JustinAlexP
Hello, this is Twat, which runs on Twit, for Twitter.
This is a small program that will reply to a configured list of twitter users with a set string.
- Make a Twitter account for the bot.
- Apply for a developer account for the bot. Sorry, blame Russia.
- Create a Twitter application for the bot.
- Under the newly created app page, go to the
Keys and tokens
tab, then copy over theAPI key
,API secret key
,Access token
, andAccess token secret
. These will go into their respective fields in your configuration file. - Get the twitter IDs of the users you will be replying to
- Pick your reply
- Fill out the configuration file
- Run the following commands
fatbitch@FatBitch-Mac Twat % npm i
fatbitch@FatBitch-Mac Twat % npm run build
fatbitch@FatBitch-Mac Twat % npm run start:prod
If all goes well, you should see
info: im ready to roll
Now, just wait for the users you chose to follow to tweet and watch the replies roll out.
{
"twitter": {
"consumer_key": "your ugly api key here",
"consumer_secret": "your ugly api secret key there",
"access_token": "your ugly access token here",
"access_token_secret": "your ugly access token secret there"
},
"params": {
"follow": [
"ugly bitch token here"
]
},
"reply": "Ok boomer"
}