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> |
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/