Login with Yahoo Oauth in php

Prem Tiwari - - Freebies, PHP Tutorial

In this post i explain how to Login with Yahoo Oauth in php. Now a days mostly website needs the login using third party websites like Google, Yahoo, facebook or some of the social networks. This is a very simple and easy steps to follow.



In order to start working with Yahoo SDK you need to register a web application and get the Application ID, Consumer keys.

Step -1 Creating a new Application
a) Register a new application
b) Get the Application ID, Consumer Key and Consumer Secret.

2. Designing the Database

Create a table for the users with the fields uid, oauth_vendor, oauth_id, name.

3.- yahoo_connect.php

4. Login.php Page

About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , ,