YouTube API에서이 요청을 사용하면 로그인이 필요하다고 생각합니다. 나는 그것이도에 도움이 될 생각
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "header",
"location": "Authorization",
: 예를 들어, 당신은 단지 로그온되는 오류가 발생하는 것없이 브라우저
https://www.googleapis.com/youtube/v3/liveBroadcasts
에 브라우저 LiveBroadcasts.list URI 요청이 붙여 넣을 때 Implementing OAuth 2.0 Authorization에서 읽으십시오.
이
는 지원의 OAuth 흐름은 다음과 같습니다 한마디로
- The server-side flow supports web applications that can securely store persistent information.
- The client-side flow supports JavaScript applications running in a browser.
- The installed application flow supports applications installed on a device, such as a phone or computer.
- The device flow supports devices with limited input capabilities, such as game consoles and video cameras.
*The service account flow supports server-to-server interactions that do not access user information. However, the YouTube Data API does not support this flow. Since there is no way to link a Service Account to a YouTube account, attempts to authorize requests with this flow will generate a NoLinkedYouTubeAccount error.
, 난 당신이 API 호출을 수행 할 수있는 권한이 부여 될 필요가 있다고 생각합니다.