I am trying to register a webhook, but I get the message:
[{“code”:214,“message”:“Webhook URL does not meet the requirements. Invalid CRC token or json response format.”}]}’ } }
Response generated in this way (php):
$hash = hash_hmac('sha256', $crc_token, $consumer_secret, true);
$response = array(
'response_token' => 'sha256=' . base64_encode($hash)
);
return json_encode($response);
crc_token is being received and response_token is generated and sent with value…
The account is: rankingmetro, app id 8755617
Any suggestion of what the problem may be? Thanks