Survey Monkey API에 액세스 토큰을 가져 오는 데 문제가 있습니다. http://www.phpclasses.org/package/7700-PHP-Authorize-and-access-APIs-using-OAuth.html에 제공된 login_with_surveymonkey.php를 사용 중입니다. 이미 얻은 client_id, client_secret, redirect_url 및 api_key를 https://developer.surveymonkey.com/apps/mykeys에서 변경했습니다. developer.surveymonkey.com/apps에서 제공하는 세부 기술 :Survey Monkey : 잘못된 클라이언트 오류
- CLIENT_ID : 나는 developer.surveymonkey.com
- client_secret, API_KEY에 로그인에 사용되는 사용자 이름 여기 은 세부 사항입니다/mykeys
- REDIRECT_URL : 그 정보를 제공 developer.surveymonkey.com/apps/myapps
에서 제공하는 세부 사항에서 복사, 나는 STI는 오전 이 오류 메시지가 나타날 것입니다 :
Error: it was not possible to access the OAuth access token: it was returned an unexpected response status 401 Response: {"error_description": "Invalid client_id/client_secret/api_key", "error": "invalid_client"}
현재 로컬 컴퓨터에서 실행 중이며 컬이 이미 활성화되어 있습니다. 이 문제를 해결하려면 다른 것을 구성해야합니까?
당신은 https 서버에서 코드 = – user2092317
에 액세스해야합니다. https 서버에서 실행하려고했지만 여전히 같은 문제가 발생했습니다. 승인 페이지 (https://api.surveymonkey.net/oauth/authorize?client_id=[CLIENT_ID]&redirect_uri=https%3A%2F%2Flocalhost%2Foauth%2Flogin_with_surveymonkey.php&response_type=code&state=xxxxxxxxx-xxxxxx&api_key=xxxxxxxxxxxxxxxxxxxx)로 리디렉션되었습니다.), 인증 버튼을 클릭하면 redirect_url로 리디렉션되고 나에게도 같은 오류 메시지가 표시됩니다. – Judith