Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: How do I use curl with perl and Twitter

by northwestdev (Acolyte)
on Jul 21, 2009 at 20:15 UTC ( [id://782068]=note: print w/replies, xml ) Need Help??


in reply to Re^5: How do I use curl with perl and Twitter
in thread How do I use curl with perl and Twitter

Net::Twitter is installed. I am no longer getting errors, but this piece of code is not producing any output (and the foreach loop is straight out of http://cpansearch.perl.org/src/CTHOM/Net-Twitter-2.06/README
my $nt = Net::Twitter->new( traits => [qw/API::REST/], username => $usename, password => $pwd ); my $results = $nt->show_user($twitterID); foreach my $user (@{ $results }) { my $id = $user->{id}; my $name = $user->{name}; print STDOUT $id." ".$name."<br>"; }

Replies are listed 'Best First'.
Re^7: How do I use curl with perl and Twitter
by davorg (Chancellor) on Jul 21, 2009 at 22:16 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://782068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2025-06-14 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.