Hey guys! There's big stuff going on behind the scenes! Follow @UnSyntaxSoft on Twitter to keep up to date! (Registry is down again :( )




Post Posted: Mon Feb 08, 2010 2:24 am Reply with quote
TweetBot is a very simple IRCbot written in PHP that is designed to aggregate tweets from Twitter (from user RSS feeds) and display them in a channel on IRC.

Currently, I have a copy of TweetBot running in EFNet #unss and aggregating tweets from @TsukasaZX (my account) and @UnSyntaxSoft (UnSS's account).

It doesn't run by an accurate timer but every 30 seconds or so it checks to see if the latest tweets are new (different since the last time it checked) and if so, displays them in the channel.

EFNet #Unss wrote:
* @Tribal pokes TweetBot for an update
<TweetBot> [UnSyntaxSoft] @Eeems_ Thanks! We were trying to go for a friendly "Firefox.com"ish feel so users would potentially be less offended by it : )
<TweetBot> [TsukasaZX] @Eeems_ Sort of. Once it's completely polished and not retarded, it'll tweet stuff from UnSS's account to UnSS's IRC channel.


It's still a bit buggy. It might not check frequently or it might check too frequently and sometimes it doesn't actually display tweets in the channel (although they pop up in the command prompt) or repeats the same tweets. Also, it's designed only to work in one static channel right now due to some issue I can't pinpoint.

Once I get all the kinks worked out and finish polishing it up, I'll actually release a downloadable source code. Getting it to run, however, will be entirely the downloader's job Wink

To Do
- Figure out and fix what's causing tweets to not aggregate properly sometimes.
- Get it to work across multiple channels and maybe even aggregate different accounts in each channel.
- Gussy up the terminal/cprompt display.

- IRC->Twitter functionality? Tweeting to Twitter from TweetBot? What do y'all think?
_________________
Projects
xcCode DE - ?% - lots of work to do
Project IB - 0% - planning
Mugen Project - 0% - Future project, no plans yet
"Alenda lux ubi orta libertas" - Let learning be cherished were liberty has arisen

Keith
OmniAdmin
OmniAdmin

Posts: 302
Joined: 30 Jun 2007
Location: His Office
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger

Post Posted: Mon Feb 08, 2010 3:14 am Reply with quote
Looks good!
Hmm, tweeting from irc could work, just make sure to put some safties in place so no-one can start spamming it.
Btw, how hard is it on the API limit?
_________________
SynThesIs 1:13 wrote:
The Beta Testers found bugs, and there was much wailing and gnashing of teeth.

Wesley wrote:
Sometimes I hold my calculator and chant the words "feel the power" .

Eeems
Newcomer
Newcomer

Posts: 20
Joined: 22 Feb 2009

View user's profile Send private message

Post Posted: Mon Feb 08, 2010 4:45 am Reply with quote
Since it grabs from RSS, I don't think it abuses the API much at all if any.

If I were going to implement an IRC->Twitter function, it'd probably be something like "!tweet [username] [password] [tweet]" from a private message. TweetBot itself wouldn't have much to tweet about and there'd be no way to set up a registry system because then I'd have access to Twitter credentials which is in no way legally or ethically acceptable.
_________________
Projects
xcCode DE - ?% - lots of work to do
Project IB - 0% - planning
Mugen Project - 0% - Future project, no plans yet
"Alenda lux ubi orta libertas" - Let learning be cherished were liberty has arisen

Keith
OmniAdmin
OmniAdmin

Posts: 302
Joined: 30 Jun 2007
Location: His Office
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Display posts from previous: