How to login with yahoo on website? Reviewed by Momizat on . First creat a project on Yahoo go to:- https://developer.yahoo.com/dashboard/createKey.html Click on the Create project then open form and fill all details. Get First creat a project on Yahoo go to:- https://developer.yahoo.com/dashboard/createKey.html Click on the Create project then open form and fill all details. Get Rating: 0

How to login with yahoo on website?

First creat a project on Yahoo go to:-

https://developer.yahoo.com/dashboard/createKey.html

Yahoo create project

Click on the Create project then open form and fill all details.

project form

Get Consumer Key,Consumer Secret and Application ID For API

yahoo API Key

PHP code yahoo-login.php on website

<br /><br />&lt;?php<br /><br />require_once 'yahoo/Yahoo.inc';<br />define('CONSUMER_KEY', "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");<br />// Your Consumer Secret goes here.<br />define('CONSUMER_SECRET', "xxxxxxxxxxxxxxxxxxxxxxx");<br />// Your application ID goes here.<br />define('APPID', "xxxxxxxxx");<br />$session = YahooSession::requireSession(CONSUMER_KEY,CONSUMER_SECRET,APPID);<br />if(is_object($session)) {<br />// Get the currently sessioned user.<br />$user = $session-&gt;getSessionedUser();<br /><br />// Load the profile for the current user.<br />$profile = $user-&gt;getProfile();<br />print_r($user);<br />}<br /><br />?&gt;<br /><br />

Leave a Comment

© 2014 Powered By