javascript - URL parameters for profile image sizing from Twitter API -


i'm using twitter api pull in single recent tweet user. result json object containing information user (name, profile image , on) plus tweet information. profile image comes through so:

http://pbs.twimg.com/profile_images/xxxxxxxxx/xxxxxxx_normal.jpeg 

the size of pretty tiny. can made bigger changing end of filename so:

http://pbs.twimg.com/profile_images/xxxxxxxxx/xxxxxxx_bigger.jpeg 

and can @ full 450px size removing part of filename entirely:

http://pbs.twimg.com/profile_images/xxxxxxxxx/xxxxxxx.jpeg 

when use _normal or _bigger, image small, final example above (450px) big. need in between! there way choose size want, example url parameters this:

http://pbs.twimg.com/profile_images/xxxxxxxxx/xxxxxxx.jpeg?w=200 


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -