[tpm] Searching Twitter

Abram Hindle abram.hindle at softwareprocess.es
Sun May 29 12:54:00 PDT 2011

I'm going top post and summarize:

You are responsible for maintaining state. Repeat the search every 5
minutes and iterate through the results until you get too many results
you've already seen before. RTs might mess up the order of the search


On 11-05-29 03:24 PM, Scott Elcomb wrote:
> On Sun, May 29, 2011 at 8:14 AM, Antonio Sun <antoniosun at lavabit.com> wrote:
>> - I don't have a twitter account. Do I have to have a twitter account to
>> use Net::Twitter::Lite?
>> - Do I have to have a twitter account to search  twitter? (some forum does)
> AFAIK, you don't need an account.  If you don't use an account though
> you'll have to register your application at <http://dev.twitter.com/>
> to access the API
>> - The code doesn't seem to limit the search within a channel. how can I do
>> that?
> There aren't any channels per-se.  There are user & search streams.
> Searches can be simplified a bit by using hashtags... like #perl or
> #kungfu.  The best way to get started is to create an account (even if
> you don't intend to keep it) and experiment... especially if you're
> going to write apps that use the API.
> Some pages I'd recommend having a peek at:
>   <http://dev.twitter.com/>
>   <http://semifor.posterous.com/nettwitter-and-the-death-of-basic-authenticat>
>   <http://search.cpan.org/~mmims/Net-Twitter-Lite-0.10004/lib/Net/Twitter/Lite.pm>
>   <http://cpansearch.perl.org/src/MMIMS/Net-Twitter-Lite-0.10004/examples/>
> I haven't really used any of the Net::Twitter modules since before
> OAuth was enforced and can't really give any up-to-date help or info
> on the module.  Last I checked, Mark Mims (the modules' author) was
> active on the twitter-dev mailing list* & responded to help requests
> when they popped up (use Net::Twitter in the subject line ;-)
> * <https://groups.google.com/group/twitter-development-talk?hl=en>
> Best of luck,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20110529/36047bf8/attachment.bin>

More information about the toronto-pm mailing list