Cách nào đúng để xác minh X-Hub-Signature
trong php?Instagram cách xác minh Chữ ký X-Hub bằng php
Tôi đã thử với
$xHubSignature = $request->getHeader('X-Hub-Signature');
$postdata = file_get_contents("php://input");
$body = $request->getRawBody();
$check = sha1('mysecret'.$postdata);
nhưng nó không hoạt động.