Login With twiiter api
To create and register new app on twitter, go to Twitter Apps and click on create new app.
For testing purpose, if you are developing app on localhost,provide website url as “http://127.0.0.1/{your-websitename}” otherwise provide the website url and callback url as callback page followed by website url login with twitter
Now app is created on twitter. To integrate the twitter login in site. Download the twitter api php client from https://github.com/abraham/twitteroauth. In this tutorial callback url is ‘http://127.0.0.1/twitter_login/twitter_oauth.php’.