Url for profile image


#1

Hi,

In twitter 1.0 version i was using the below url for getting profile image by screen name but now it is not working in 1.1.Please let me me know is there any alternative for the same.

https://api.twitter.com/1/users/profile_image?size=bigger&screen_name=

Thanks
Sreehari


#2

API v1.1 doesn’t have a pure equivalent to this method. You need to use API v1.1’s users/show or users/lookup methods – or just use the avatar image URL for a user you receive as part of the embedded user object in tweets.


#3

Thanks for your replay.