Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the POE-Component-Server-Twirc CPAN distribution.

Report information
The Basics
Id: 44685
Status: open
Priority: 0/
Queue: POE-Component-Server-Twirc

People
Owner: Nobody in particular
Requestors: adam.prime [...] utoronto.ca
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Support for Search API?
Any plans to support the twitter search API?
Subject: Re: [rt.cpan.org #44685] Support for Search API?
Date: Mon, 30 Mar 2009 15:27:17 -0700
To: Adam Prime via RT <bug-POE-Component-Server-Twirc [...] rt.cpan.org>
From: Marc Mims <marc [...] questright.com>
* Adam Prime via RT <bug-POE-Component-Server-Twirc@rt.cpan.org> [090330 14:22]: Show quoted text
> Any plans to support the twitter search API?
Yes, I plan to add features based on the search API. Just looking for enough tuits to get it done. Patches are welcome. Source is at http://github.com/semifor/twirc. -Marc
Subject: Re: [rt.cpan.org #44685] Support for Search API?
Date: Mon, 30 Mar 2009 18:33:04 -0400
To: bug-POE-Component-Server-Twirc [...] rt.cpan.org
From: Adam Prime <adam.prime [...] utoronto.ca>
marc@questright.com via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=44685 > > > * Adam Prime via RT <bug-POE-Component-Server-Twirc@rt.cpan.org> [090330 14:22]:
>> Any plans to support the twitter search API?
> > Yes, I plan to add features based on the search API. Just looking for > enough tuits to get it done. > > Patches are welcome. Source is at http://github.com/semifor/twirc. >
Any thoughts on interface? I know that tircd it through topics in channels, but that might not be the most appealing idea to you. I'm intending to take a look at implementing something, but I've got a pretty steep curve to get through (no experience with Moose, POE, or Net::Twitter...) Adam
Subject: Re: [rt.cpan.org #44685] Support for Search API?
Date: Mon, 30 Mar 2009 16:23:30 -0700
To: Adam Prime via RT <bug-POE-Component-Server-Twirc [...] rt.cpan.org>
From: Marc Mims <marc [...] questright.com>
* Adam Prime via RT <bug-POE-Component-Server-Twirc@rt.cpan.org> [090330 15:33]: Show quoted text
> Any thoughts on interface? I know that tircd it through topics in > channels, but that might not be the most appealing idea to you. > > I'm intending to take a look at implementing something, but I've got a > pretty steep curve to get through (no experience with Moose, POE, or > Net::Twitter...)
I very much like some of the design choices in tircd. I would like to implement "just enough" IRC protocol, like tircd, rather than relying on the full IRC server provided by POE::Component::Server::IRC. With that done, I'd flesh out the following features: - multiple account support: use twitter ID and password in IRC USER/PASS to establish connection and authenticate, just like tircd. The first channel joined (whatever the user cares to call it) will be the "primary" channel for the account. - additional channels created for search or grouping users: - setting topic in a new channel will result in a "followed" search - implement a "search" command with -follow (or perhaps -nofollow) option to add search results to any channel - implement handling for the /KICK command: /KICK nick #channel - moves nick from the current channel to #channel /KICK nick unfollow - alias for the unfollow command /KICK nick - removes nick from the channel (until INVITE or next restart of twirc) - implement /INVITE /INVITE nick - adds nick to the channel, if the current channel is the primary channel, functions the same as the "follow" command. - maybe implement /KICK nick NNN[s|m|h] - remove nick from the channel for the specified amount of time. I've delayed implementing search, wanting to replace the dependency on POE::Component::Server::IRC, first. But perhaps it would be better to try to implement search, first, in the current architecture. Drop by #twirc and/or #net-twitter on irc.perl.org and let me know how you would like to use search. You'll also find some help there if you want to do some hacking yourself. -Marc