Obtain name and photo from twitter account


I am developing a website where users can get into either through their facebook or twitter account.I have done this with ease,but my issue is in getting the username and photo of the user from his/her twitter account.I need to to display both on my website.