We are again seeing behaviour where update_profile_image is returning
a 200OK but the image is not updated on Twitter. This happened last
week and was fixed under Issue 1745:

http://code.google.com/p/twitter-api/issues/detail?id=1745

But it has just reappeared. Behaviour is very slightly different in
that the previous profile image remains in place rather than becoming
a broken image.

Request and response shown below.

Thanks,

Bob

Founder
Twibbon.com


--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="81r7llydmekc186w",oauth_timestamp="1279545055",oauth_signature_method="HMAC-
SHA1",oauth_signature="9MkFOvvVxEmQZcyJUvSEOSF0na4%3D",oauth_version="1.0"
Content-Type: multipart/form-data; boundary=ab0fd378-4c1f-445f-
aa8e-45488c90256d
--ab0fd378-4c1f-445f-aa8e-45488c90256d
Content-Disposition: file; name="image"; filename="5e55681f-878e-46bd-
a584-57fcfaf4b52b.png"
Content-Type: image/png

[FILE DATA][System.Text.Latin1Encoding]
--ab0fd378-4c1f-445f-aa8e-45488c90256d--

--RESPONSE: http://api.twitter.com/1/account/update_profile_image.json
HTTP/1.1 200 OK
Date: Mon, 19 Jul 2010 13:10:55 GMT
Server: hi
Status: 200 OK
X-Transaction: 1279545055-84509-57740
ETag: "b089d0f3bb2c84ad1283361318917271"
Last-Modified: Mon, 19 Jul 2010 13:10:55 GMT
X-Runtime: 0.10970
Content-Type: application/json; charset=utf-8
Content-Length: 1340
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.1279545055076066; path=/; expires=Mon, 26-
Jul-10 13:10:55 GMT; domain=.twitter.com,guest_id=127954505542692657;
path=/; expires=Wed, 18 Aug 2010 13:10:55 GMT,lang=en;
path=/,_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNQY1OopAToHaWQiJTMyOWI4OGU1MjFmNTg3%250AZTllNzNhOTQxYjVlOGVkNjQ3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--
da8b247094aedfa91e96f6b9fc02dbc701228e41; domain=.twitter.com; path=/
Vary: Accept-Encoding
Connection: close

 {"statuses_count":
327,"profile_sidebar_border_color":"87bc44","description":"","location":"","profile_use_background_image":true,"followers_count":
31,"status":
{"contributors":null,"coordinates":null,"truncated":false,"source":"<a
href=\"http://twibbon.com\"; rel=\"nofollow\">Twibbon</
a>","created_at":"Mon Jul 19 13:04:30 +0000
2010","geo":null,"in_reply_to_screen_name":null,"favorited":false,"in_reply_to_status_id":null,"place":null,"id":
18914185988,"in_reply_to_user_id":null,"text":"Support
#natsuniji_blue, add a #twibbon to your avatar now! -
http://twb.ly/9rgeFs"},"contributors_enabled":false,"friends_count":30,"geo_enabled":false,"profile_background_color":"9ae4e8","lang":"en","favourites_count":0,"created_at":"Thu
Jul 16 00:18:19 +0000
2009","verified":false,"profile_text_color":"000000","follow_request_sent":false,"notifications":false,"time_zone":null,"following":false,"profile_link_color":"0000ff","protected":false,"profile_background_image_url":"http://
a1.twimg.com/profile_background_images/123041250/
df10e21c-5216-4fcb-80f5-e2962b764d6f.jpg","profile_image_url":"http://
a2.twimg.com/profile_images/1079636046/30f17041-0f8c-4031-b0fd-
d1bdcf043ad1_normal.png","name":"Bob
Thomson","profile_sidebar_fill_color":"e0ff92","url":null,"id":
57184902,"profile_background_tile":false,"utc_offset":null,"screen_name":"jpfette"}

Reply via email to