Sadece Facebook "signed_request" şey hakkında bir soru sormak istiyorum. Güvenli tarama özelliği, facebook kullanıcı hesabında etkinleştirildiğinde dönüş değeridir.Güvenli tarama etkinken Facebook boş bir işaret istek gönderilir
echo '<pre>';
print_r($_GET);
print_r($_POST);
echo '</pre>';
güvenli tarama facebook kullanıcısı etkindir: Bu kodu ... `
<?php
// Create our Application instance (replace this with your appId and secret).
$facebook = new Facebook(array(
'appId' => $applicationID,
'secret' => $applicationSecret,
));
$signed_request = $facebook->getSignedRequest();
$page_id = $signed_request["page"]["id"];
$like_status = $signed_request["page"]["liked"];
if ($like_status)
{
echo "You like us";
}
else
{
echo "You not like us";
}
?>
sayesinde ...