작동하지 대표자에 게시 곱슬 곱슬이 오류를 제공합니다PHP는 요청이 액세스 토큰에 코드를 변경
Error: { "status": 403, "message": "Forbidden" }
이 내 코드입니다 : 일반적으로 금지
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch,CURLOPT_POSTFIELDS,"grant_type=authorization_code&client_id=4853355452345362719&client_secret=deb78310995ec1cf00918a5e688e2148e6043bd640ab16f0f7ecd7543b4ac764&code=".$code);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result =curl_exec ($ch);
curl_close($ch);
print_r($result);