I want to develope application that directly login to app if there is already twitter application


I want develop app there is login with twitter Button if user click on that button it shows the login dialog. But I want like if user click on button it will take all the details of user from twitter default application like facebook.