Is there any way of building a profile image url with user id or screen name? I store user ids in database but i don\'t want to store profile image url.
You can get it using the users/show method of the Twitter API -- it does exactly what you described. You give it a the ID or the screen name, and it returns a bunch of data, including profile_image_url.