http://www.perlmonks.org?node_id=759335


in reply to Re^6: raw image data?
in thread raw image data?

Thanks for posting your code and the errors. I don't see anything obviously wrong with your code. These are the only suggestions I can think of:
  1. Try printing $raw to a local file and see if you can successfully view it with an image program.
  2. Google around to see if Twitter's API might be broken for that function.
Good luck!

---
It's all fine and dandy until someone has to look at the code.

Replies are listed 'Best First'.
Re^8: raw image data?
by 23skiddoo (Beadle) on Apr 22, 2009 at 16:52 UTC
    Thanks. I was just on #net-twitter on irc.perl.org and spoke with the author. It seems that my code is solid, but the reason it is failing is that twitter is simply too busy. Apparently, when their servers get overloaded, image uploads from the web interface or the API tend to fail. I'm glad it wasn't just me! :)

    fnord

      Hmmm... so the Perl is solid and the Ruby is unable to keep pace...<ducks urgency="!"/>