I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-04-10 06:36:22.873053-07 by buck
Changed clientname does not show up on Twitter with Net::Twitter 2.12
Hi,

I have a small script that tweets for me. But when it tweets, Twitter says the tweet came from 'Perl Net::Twitter', which is the default client name.

So I changed my clientname thusly:

my $twitter = Net::Twitter->new( username => 'johnmacgulfy', password => 'n0tr3411ymyp4555w0rd, clientname => 'Test client name' ); my $msg = 'The world is a pea'; $twitter->update( $msg);

The tweet shows up just fine, but with the default 'Perl Net::Twitter' clientname.

I even tried setting the clientname in the update like this:

$twitter->update( {status=>$msg,clientname=>'testclient'});

I also tried changing the useragent to see if that would help. But to no avail. Am I doing something wrong or is this a bug?
Direct Responses: 12622 | Write a response