get twitter access token

Hi Eveyone

I want to get the user access token from twitter.i want user hit the login button and new tab open and user type the login detail and send me the access token of that user.Please help me suggest me the apis, i am working on web project.Please help me i m in big trouble.and sorry for my english.

thanks in advance