| User authentication
| User profile
| User contacts list
| Post to user wall / update status
| Access provider API
| IDp URL
| Keys registration
| Dev documentation
Configuration & Usage
$config = array(
"base_url" => "http://mywebsite.com/path/to/hybridauth/",
"providers" => array(
"Yahoo" => array(
"enabled" => true,
"keys" => array("id" => "PUT_YOURS_HERE", "secret" => "PUT_YOURS_HERE"),
"scope" => ['sdct-r', 'fspt-r', 'mail-r', 'sdps-r'], // optional
require_once( "/path/to/hybridauth/Hybrid/Auth.php" );
$hybridauth = new Hybrid_Auth( $config );
$adapter = $hybridauth->authenticate( "Yahoo" );
$user_profile = $adapter->getUserProfile();
For Yahoo you can configure several extra options:
Go to https://developer.yahoo.com/apps and create
a new application by clicking "Create an App".
Fill out any required fields such as the Application Name.
Specify the domain to which your application will be returning after successfully authenticating. (i.e.
Select private user data APIs that your application needs to access.
Once you have registered, copy and past the created application credentials (App ID and Secret) into the
HybridAuth config file.