1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

Remove test code.

This commit is contained in:
CaMer0n 2012-06-13 05:02:43 +00:00
parent a8fe3aaff0
commit b714d690a9

View File

@ -210,36 +210,7 @@ if(!$_POST)
if(e_QUERY == 'thirdparty')
{
$config = array(
"base_url" => "http://godoholics.org/e107_handlers/hybridauth/",
"providers" => array
(
"Facebook" => array
(
"enabled" => true,
"keys" => array ( "id" => "341715689232729", "secret" => "001c35bdb735ace858317eba40b2ed15" ),
"scope" => "email, user_about_me, user_birthday, user_hometown",
"display" => "popup",
)
),
"debug_mode" => true ,
"debug_file" => e_HANDLER."hybridauth/hybridauth.log"
);
require_once(e_HANDLER."hybridauth/Hybrid/Auth.php");
$hybridauth = new Hybrid_Auth( $config );
$adapter = $hybridauth->authenticate( "Facebook" );
$user_profile = $adapter->getUserProfile();
print_a($user_profile);
}