Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 43067
Status: resolved
Priority: 0/
Queue: Net-Twitter

People
Owner: Nobody in particular
Requestors: david [...] axiombox.com
Cc:
AdminCc:

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



Subject: update() sends the hash key as tweet
Date: Thu, 5 Feb 2009 15:13:15 -0800
To: bug-Net-Twitter [...] rt.cpan.org
From: David Moreno <david [...] axiombox.com>
Download (untitled) / with headers
text/plain 795b
With a valid username/password, trying to update status: $t->update(status => "Reporting bug to @net_twitter!"); idoes update into the Twitter account but it inserts "status" as tweet. If you retry running a very simple script, it will not appear on Twitter, since it seems that even though they return a valid response for the tweet, a duplicated/identical sequential tweet don't appear. So, replicating this bug will only happen once, but it can also be tested with this: $t->update(status => "Hi!"); $t->update(status2 => "Hello!"); $t->update(status3 => "Hola!"); $t->update(status4 => "Oi!"); $t->update(status5 => "Domo arigato, Mr. Roboto!"); That would insert five different tweets with "status", "status2", etc, that is, the hash keys. David Moreno http://damog.net/
Download (untitled) / with headers
text/plain 317b
This is a documentation bug. The argument needs to be an actual hash, rather than the string shown in the documentation. This works: $t->update({status =>"Hi!"}); This, as you have seen, fails: $t->update(status =>"Hi!"); The fix should probably be to the documentation to make the calling convention clear.
Download (untitled) / with headers
text/plain 143b
2.07 will have a documentation fix for this. I need to get 2.07 out to add the missing API methods. I will look to detect and fix this in 2.08.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.