Login/ Register With Twitter

social media

Now a days most of the project required login through social media. This article will guide you to crate login/ register with twitter.


Please insert the Following php script to your login/register page.

 if (array_key_exists("login", $_GET)) {
   $oauth_provider = $_GET['oauth_provider'];
     if ($oauth_provider == 'twitter') {
       header("Location: login-twitter.php");

Click here to generate App ID/API Key for Twitter.

Step 2:
Please insert login with twitter button and write down the following code.
<a href="?login&oauth_provider=twitter">
<img border="0" src="images/login_twitter.png" style="cursor:pointer"></a>
This will take user to twitter login page.

You can download the Twitter login file in zip format from here.

You can change your CONSUMER_KEY and CONSUMER_SECRET in twitter/twconfig.php file.

Other Login/ Registration Systems

Login/ Register With Facebook
Login/ Register With Linked In
Login/ Register With Yahoo!
Login/ Register With Gmail
Login/ Register With Hotmail
Login/ Register With Email

Download Code Files Total Downloads: 5398

comments powered by Disqus