IRC bot to filter twitter stream api and to publish updates.
If you have curl, you can install all you need just running:
> bin/install_deps.sh
conf/twitirc.conf
Just a json file for IRC and twitter configuration and state storage.
{
"host": "irc.perl.org",
"nickname": "twitirc",
"channels": [ "#madrid.pm" ],
"twitter": {
"filter":"perl,madrid,perlmongers",
"access_token_secret":"XXX",
"access_token":"XXX",
"consumer_secret":"XXX",
"consumer_key":"XXX"
}
}
Do you need help getting oauth credentials from twitter for your bot?, just exec:
bin/get_token
bin/twitirc
Any message sended on the channels the bot is listening that start with exclamation mark (!command) are interpreted as a command, then, no all commands exists, so, try !help
Only channel op/voice's are trusted by the bot.
Ask for bot usage to himself.
View or modify search terms for the live twitter stream api. Messages passing this filter will be broadcasted to the first configured channel.
Post an update to the bot twitter account.
Retweet by api ID.
Reply some tweet by its api ID.
Broadcast filtered retweets or not. That's the question!
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.