Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Twitter-Lite CPAN distribution.

Report information
The Basics
Id: 60305
Status: rejected
Priority: 0/
Queue: Net-Twitter-Lite

People
Owner: MMIMS [...] cpan.org
Requestors: jpg [...] imente.com
Cc:
AdminCc:

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



Subject: clientname don't change
I define the clientname using: my $nt = Net::Twitter::Lite->new( username => 'huubscat', password => 'xxxxx', clientname => 'Huubs.cat' ); but when the tweet is Published appears as: via Perl Net::Twitter Version: $VERSION = '0.10003' perl 5.10.0 Linux h1616642 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 GNU/Linux thx!
The clientname option specifies the value for the X-Twitter-Client-Name header. That has nothing to do with the "via" client name Twitter displays, however. See the documentation for the "source" option, for that. Very shortly, OAuth will be required. The name you use to register your client will be displayed when using OAuth. For Basic Auth, you can use the "sounce" option to "new". Set it to "API" and twitter will dislay "via API". Set it to an empty string and twitter will display "via web". Only legacy twitter apps that have a source ID assigned by twitter can use anything else. Net::Twitter has a registered source ID. It is used by both Net::Twitter and Net::Twitter::Lite. Unless you specify something different in the "source" option, you'll get "via Net::Twitter". -Marc