Twitter login button on my site


I am testing various Oauth example for last 3 full days. But none of them helped as per what i want.

-> Login button on my page
-> User clicks, he should be authenticated
-> Come back to some page on my site
-> Get user screen name & id
-> Post this two value to start.php and redirect on start.php

I used various APIs, created my own code using ajax, jquery but none of them work.
I have tested all PHP libraries on

Here is one of my try which I trust to work :

I appreciate if someone care to help on this thread …