I see the same thing - a good response from the API, but the actual
image is missing on the web pages. The file name is correctly
processed and saved - but no image. If I upload the same image via the
Settings, Profile page, everything works fine. These results are very
consistent. I first observed the failure at 8 am MDT on 7/14/2010.

By the way, I have never been able to upload a PNG via the API, only
JPG or GIF.

Ray Franklin
Avionics Specialists LLC

On Jul 14, 5:45 am, Bob <[email protected]> wrote:
> Whenever we update someones profile image using the API (from
> Twibbon.com) it is resulting in a broken image on Twitter.com even
> though the API is returning a HTTP 200 OK. The request and response
> looks like:
>
> --REQUEST:http://api.twitter.com
> POST /1/account/update_profile_image.json HTTP/1.1
> Authorization: OAuth
> oauth_consumer_key="cmrjngkKmoHNaSG1OfWFA",oauth_token="57184902-
> BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE",oauth_nonce="tvx5owtqfawild73",o­auth_timestamp="1279107191",oauth_signature_method="HMAC-
> SHA1",oauth_signature="5GP911M9Ej
> %2FZV4O8VGRAU272aT8%3D",oauth_version="1.0"
> Content-Type: multipart/form-data;
> boundary=e750bd87-3bee-4a19-98e6-55fb254283ef
> --e750bd87-3bee-4a19-98e6-55fb254283ef
> Content-Disposition: file; name="image"; filename="jpfette.png"
> Content-Type: image/png
>
> [FILE DATA][System.Text.Latin1Encoding]
> --e750bd87-3bee-4a19-98e6-55fb254283ef--
>
> --RESPONSE:http://api.twitter.com/1/account/update_profile_image.json
> HTTP/1.1 200 OK
> Date: Wed, 14 Jul 2010 11:33:12 GMT
> Server: hi
> Status: 200 OK
> X-Transaction: 1279107192-63482-30103
> ETag: "23eefa77c91e270e9d96507216e06334"
> Last-Modified: Wed, 14 Jul 2010 11:33:12 GMT
> X-Runtime: 0.05593
> Content-Type: application/json; charset=utf-8
> Content-Length: 1332
> Pragma: no-cache
> X-Revision: DEV
> Expires: Tue, 31 Mar 1981 05:00:00 GMT
> Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
> check=0
> Set-Cookie: k=84.19.234.238.1279107192043086; path=/; expires=Wed, 21-
> Jul-10 11:33:12 GMT; domain=.twitter.com,guest_id=127910719241063792;
> path=/; expires=Fri, 13 Aug 2010 11:33:12 GMT,lang=en;
> path=/,_twitter_sess=BAh7CToPY3JlYXRlZF9hdGwrCGPWutApAToRdHJhbnNfcHJvbXB0MD­oHaWQi
> %250AJTFhNDgxMDkzYjk4NDhhZDkxOTNlNTM0YTE4YTM3OWM4IgpmbGFzaElDOidB
> %250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--1622471a­cd43e84d39724f9f168f573c7fc8de4a;
> domain=.twitter.com; path=/
> Vary: Accept-Encoding
> Connection: close
>
> You can see the broken image on:
>
> http://twitter.com/jpfette
>
> As you can imagine this is causing us a serious problem at present,
> any help would be greatly appreciated.
>
> Thanks,
>
> Bob
>
> Founder
> Twibbon.com

Reply via email to