[twitter-dev] Re: update_profile_image not updating user's profile_image_url

2009-04-14 Thread Cameron Kaiser

 Thanks, I have sent you a Charles bebug output.
 Interesting to see is that with a request I first get a 401
 unauthorised error.

Strictly speaking, per the HTTP spec, clients should not reply with
authentication information to a resource that has not first requested it.
The 401 is to make that possible.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Never eat more than you can lift. -- Miss Piggy 


[twitter-dev] Re: update_profile_image not updating user's profile_image_url

2009-04-14 Thread Alex Payne

What Cameron said. The first 401 is our servers saying, you need to
identify yourself. Once that happens, the request seems to go
through.

On Tue, Apr 14, 2009 at 08:36, Cameron Kaiser spec...@floodgap.com wrote:

 Thanks, I have sent you a Charles bebug output.
 Interesting to see is that with a request I first get a 401
 unauthorised error.

 Strictly speaking, per the HTTP spec, clients should not reply with
 authentication information to a resource that has not first requested it.
 The 401 is to make that possible.

 --
  personal: http://www.cameronkaiser.com/ 
 --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
 -- Never eat more than you can lift. -- Miss Piggy 
 




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: update_profile_image not updating user's profile_image_url

2009-04-12 Thread bart

I have same problem, any news yet?

On 2 apr, 19:38, Alex Payne a...@twitter.com wrote:
 It is most likely a Twitter bug. We've been oscillating between two
 image uploading libraries, trying to deal with issues in each.



 On Wed, Apr 1, 2009 at 22:50, pianoben piano...@gmail.com wrote:

  I've Googled around a bit, and haven't found anything that talks about
  this issue, so I humbly submit my problem to the Twitter wizards.

  Here's the problem - when I call the API function
  update_profile_image, the upload succeeds, and Twitter returns status
  code 200.  If I go to my actual profile image page (http://twitter.com/
  account/profile_image/pianoben), the updated image (let's say
  O_RLY.jpg) is present.  However, the rest of my profile still
  retains links to the scaled-down version of the former profile image,
  i.e. instead of http://amazonWS/o_rly_normal.jpg, everywhere a
  profile image is needed still links to http://amazonWS/
  old_picture_normal.jpg.  The latter is the URL returned as
  profile_image_url when calling /users/show/pianoben.xml.

  I'm pretty sure I've got my library code down pat, as the image itself
  verifiably uploads - it looks like Twitter is barfing on updating my
  user info after the API call completes.  It is worth noting that none
  of this happens if I upload an image via the web interface.

  Has anyone else encountered this?  What did you do to solve this?  Or
  is this a Twitter bug?

  Thanks,
  Ben

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] Re: update_profile_image not updating user's profile_image_url

2009-04-03 Thread Raghu Prasad



On Apr 2, 10:50 am, pianoben piano...@gmail.com wrote:
 I've Googled around a bit, and haven't found anything that talks about
 this issue, so I humbly submit my problem to the Twitter wizards.

 Here's the problem - when I call the API function
 update_profile_image, the upload succeeds, and Twitter returns status
 code 200.  If I go to my actual profile image page (http://twitter.com/
 account/profile_image/pianoben), the updated image (let's say
 O_RLY.jpg) is present.  However, the rest of my profile still
 retains links to the scaled-down version of the former profile image,
 i.e. instead of http://amazonWS/o_rly_normal.jpg, everywhere a
 profile image is needed still links to http://amazonWS/
 old_picture_normal.jpg.  The latter is the URL returned as
 profile_image_url when calling /users/show/pianoben.xml.
snip
 Has anyone else encountered this?  What did you do to solve this?  Or
 is this a Twitter bug?

I am facing the same problem and have reported it earlier. The
behavior of
updating your profile image via web browser and via API differs
considerably.
I have noticed that it takes almost an hour for your newly uploaded
image
to appear as your avatar in your tweets page. In my case I don't see
the
earlier image either. My full name is displayed at the place of my
avatar.

Raghu