Hi, <div><br></div><div>How can I search within a Twitter channel? </div><div><br></div><div>I found the following code snip, </div><div><br></div><div>---------------------------------------------------------------</div><div>
<div>use Net::Twitter::Lite;</div><div><br></div><div>my $user = 'yourusername';</div><div>my $pass = '#########';</div><div>my $search_term = '#nomiki';</div><div><br></div><div>my $nt = Net::Twitter::Lite->new(</div>
<div> username => $user,</div><div> password => $password</div><div>);</div><div><br></div><div>my $r = $nt->search($search_term);</div><div>for my $status ( @{$r->{results}} ) {</div><div> print "$status->{text}\n";</div>
<div>}</div></div><div><div>---------------------------------------------------------------</div></div><div><br></div><div>I haven't tried it, but have the following questions, </div><div><br></div><div>- I don't have a twitter account. Do I have to have a twitter account to use Net::Twitter::Lite? </div>
<div>- Do I have to have a twitter account to search twitter? (some forum does)</div><div>- The code doesn't seem to limit the search within a channel. how can I do that? </div><div><br></div><div>All in all, how can I search within a Twitter channel in Perl?</div>
<div><br></div><div>Thanks</div><div><br></div><div><br></div>