Hello
I have been trying to register webhook url and when I try I get "{“errors”:[{“code”:214,“message”:"Webhook URL does not meet the
requirements. Please consult:
https://dev.twitter.com/webhooks/securing"}]}". I have baseencoded the hmac from the crctoken and consumer secret. Below is the code for it
$sha_token = base64_encode(hash_hmac (“sha256”, trim($crc_token),trim($consumer_secret), true));
$response = array("response_token"=> "sha256=".$sha_token);
header(“HTTP/1.1 200 OK”);
echo json_encode($response);
exit();
There is no latency issue. But still the url is not getting registered.