[twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Christian Fazzini
How would I get 128x128? i.e. from http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_reasonably_small.jpg There is no indication of this in the API anywhere On Dec 13, 4:04 pm, Christian Fazzini christian.fazz...@gmail.com wrote: How do apps like Twitpic and WeFollow use larger

Re: [twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Tom van der Woerdt
Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I did was upload it at twitter.com like any other user would. Tom On 12/13/10 9:10 AM, Christian Fazzini wrote: How would I get 128x128? i.e. from

[twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Christian Fazzini
I know that. Thats not what I am asking for. I am wondering how Twitpic is able to get 128x128 when we can only get 73x73 as the largest thumbnail. For example. Image I originally uploaded is stored at this url. http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg Twitpic uses:

Re: [twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Tom van der Woerdt
Well, the API returns (in my case) http://a3.twimg.com/profile_images/1079883403/_MG_0016_normal.jpg. Replacing _normal.jpg with _reasonably_small.jpg (so that it becomes http://a3.twimg.com/profile_images/1079883403/_MG_0016_reasonably_small.jpg) seems to work. Tom On 12/13/10 10:15 AM,

[twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Christian Fazzini
Ok, how do I connect to the Twitter API to get the reasonably small size? http://dev.twitter.com/doc/get/users/profile_image/:screen_name only accepts the following options: mini, bigger, normal On Dec 13, 5:40 pm, Tom van der Woerdt i...@tvdw.eu wrote: Well, the API returns (in my

Re: [twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Tom van der Woerdt
A quick look on Google gave me this code : $(#profile_image).html('img src=' + profile_image.replace('normal', 'reasonably_small') + ' /'); So just get the normal one and replace it with reasonably_small. (Of course, the above code isn't perfect, as it will also match normal in the rest of

[twitter-dev] Re: How to get bigger profile images

2010-12-13 Thread Christian Fazzini
So I would have to use regex or some kind of text function to replace? A bit dirty. Why isn't reasonably small one of the options in the API? Is this deprecated? On Dec 13, 5:49 pm, Tom van der Woerdt i...@tvdw.eu wrote: A quick look on Google gave me this code : $(#profile_image).html('img