For anyone uploading via curl:
Checkout my comments on Google Code issue 236 (http://bit.ly/
h6rW). It would be helpful if you could give this type of command a
try with your 1x1 GIF, Kevin. Also, if you could post the image in
question I can try it out in my development environment and see what's
going on in more detail.
Thanks;
— Matt Sanford
On Jan 19, 2009, at 10:01 AM, DeBetta wrote:
I just tested the update_profile_image API call and sent a 190K image
without issue.
What kind of image are you trying to post? Do you have sample code you
can share?
--Peter
On Jan 19, 11:16 am, Kevin Thompson <[email protected]> wrote:
I'm attempting to write a simple script to update the user's profile
image, but I am getting a response that the image is possible too big
each time. The file that I'm attempting to set as the user avatar is
no larger than 5k, and it fails.
I created a 1px by 1px white gif which weighed in at about 43 bytes
and it worked.
My suspicion is that for some reason the API is not correctly
calculating the file size of the image data, or it's checking for a
much smaller value than 700k.