This particular problem only concerns a couple of users who didn't re-upload their profile image since we had this bug in 2009. Unfortunately, a fix is unlikely to come.
In most of the cases, image size is correct. If it's just about displaying these images in a browser, you can set the image width/height attributes and/or use CSS (that's what we do on twitter.com).
Now if you use these images differently and if their size is important for your app, you should add a check/validation step in your process, just like you should sanitize anything you consume to be sure an unexpected value won't break your app.
Arnaud / @rno
On Mon, Mar 28, 2011 at 2:17 PM, Helliax <helliax@gmail.com> wrote:
A while back, there was a discussion thread about how some profile
images did not adhere to the expected profile dimensions due to a one
time internal Twitter bug (normal:48x48, mini:24x24, bigger:73x73).
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/a229247f6745266e/bf18641460af18f5?lnk=gst
Since this problem still seems to exist (see: bigchris8504), is it
safe practice to never assume we'll be getting profile images in the
correct dimensions? Or is there a fix for this incoming?
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: http://groups.google.com/group/twitter-development-talk
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: http://groups.google.com/group/twitter-development-talk
No comments:
Post a Comment