我的viber bot回调无法解决此问题 即使我从此示例https://developers.viber.com/docs/api/rest-bot-api/#callbacks
获得了所有值,X-Viber-Content-Signature也并不等于我的签名。 $SignatureValue = json_encode(
$input // all from request
// array(
// "event" => $input['event'],
// "timestamp" => $input['timestamp'],
// "message_token" => $input['message_token'],
// "user_id" => ($input['sender']['id'] ?: $input['user']['id'])
// )
);
$Signature = hash_hmac('sha256', $SignatureValue, VIBER_TOKEN);
if($Headers['X-Viber-Content-Signature'] != $Signature)
die;
出什么问题了?