this is my config.php how to redirect it to facebook from localhost? since localhost don't have "http://" ?
when I want to login and press the button. it said "The redirect_uri URL must be absolute"
<?php
/*!
* HybridAuth
* http://ift.tt/nY1Kzk | http://ift.tt/1N8G6LP
* (c) 2009-2012, HybridAuth authors | http://ift.tt/1B1PUkv
*/
// ----------------------------------------------------------------------------------------
// HybridAuth Config file: http://ift.tt/1N8G6LT
// ----------------------------------------------------------------------------------------
$config =array(
"base_url" => "hybridauth/index.php",
"providers" => array (
"Google" => array (
"enabled" => true,
"keys" => array ( "id" => "XXXXXXXXXXXX", "secret" => "XXXXXXXX" ),
),
"Facebook" => array (
"enabled" => true,
"keys" => array ( "id" => "XXXXXXXXXXXX", "secret" => "XXXXXXXXXXXX" ),
),
"Twitter" => array (
"enabled" => true,
"keys" => array ( "key" => "XXXXXXXX", "secret" => "XXXXXXX" )
),
),
// if you want to enable logging, set 'debug_mode' to true then provide a writable file by the web server on "debug_file"
"debug_mode" => false,
"debug_file" => "debug.log",
);
Aucun commentaire:
Enregistrer un commentaire