Any one help me i have a error of my fb log in it seems blank pages,
C0de:
<?php
$stoken = Util::getMD5GUID();
$gWeb->store("fb_state",$stoken);
$fbAppId = Config::getInstance()->get_value("470580912986218");
$host = "http://".$_SERVER["HTTP_HOST"];
$fbCallback = $host."/callback/fb2.php" ;
$fbDialogUrl = "https://www.facebook.com/dialog/oauth?client_id=".$fbAppId ;
$fbDialogUrl .= "&redirect_uri=".urlencode($fbCallback)."&scope=em ail&state=".$stoken ;
?>
<a href="<?php echo $fbDialogUrl; ?>"> Login with Facebook</a>
Anyone have complete code my script is lava.,
C0de:
<?php
$stoken = Util::getMD5GUID();
$gWeb->store("fb_state",$stoken);
$fbAppId = Config::getInstance()->get_value("470580912986218");
$host = "http://".$_SERVER["HTTP_HOST"];
$fbCallback = $host."/callback/fb2.php" ;
$fbDialogUrl = "https://www.facebook.com/dialog/oauth?client_id=".$fbAppId ;
$fbDialogUrl .= "&redirect_uri=".urlencode($fbCallback)."&scope=em ail&state=".$stoken ;
?>
<a href="<?php echo $fbDialogUrl; ?>"> Login with Facebook</a>
Anyone have complete code my script is lava.,
Comment