On Apr 1, 5:49 pm, Clint Shryock <[email protected]> wrote: > The lag wasn't nearly as noticeable when the update_profile_image was first > offered, but has since as you noted become considerable. > As a work around my app, which updates profile images from a local source, > uses the local source to represent the new avatar after I receive the HTTP > status codes that indicate the upload was successful.
I am a newbie to Twitter API. Can you please give some pointer to how to use local source to represent the new avatar? As I understand, the method update_profile_image takes multipart form data and stores the image contained in it on Twitter's storage space. The avatar shown near the tweets are picked up from Twitter's storage only. Is there any way to supply my own URL of the image which is hosted on a third party server? Another issue which surprised me was that if I upload my profile image using my web browser, instead of using curl, the avatar is displayed near my tweets immediately. If web interface also uses the same API calls, how is this possible? Or is there a difference in the upload policy based on the client software in use? Raghu
