Nobody has the answer? It helps me a lot!

On Jul 19, 6:42 pm, Kevin  Dunglas <> wrote:
> Hello,
> I'm working on a program which update periodically some Twitter
> accounts avatars.
> Here is the process:
> --
> while True:
>   GET
>   GET avatar located at the url specified in the profile_image_url XML
> tag
>   Make some change to the avatar
>   POST the new avatar on
>   sleep(some time)
> --
> While the program sleep (between two avatar processing) the user can
> upload manually a new avatar.
> My problem is that the value profile_image_url is often outdated an
> when I try to download the current user avatar using this value I get
> a 404 error.
> I guess the address of the avatar is cached, but after how long the
> users/show page contains the new value? Is there a way to always the
> get the current (displayed on the user profile) avatar ?
> Thanks !

Reply via email to