Youtube quota limit exceeded on a new Google Console Project

后端 未结 1 1080
慢半拍i
慢半拍i 2021-01-07 01:13

I am writing a PHP CLI script that will upload videos to my Youtube channel. I created a project in Google Console, enabled Youtube API, enabled OAuth and received my client

1条回答
  •  孤城傲影
    2021-01-07 01:50

    I think you're right @GeorgeOlah. I didn't want to waste time setting up OAuth2 stuff, so I generated a key with the playground and then tried to use it with https://github.com/h2non/youtube-video-api.

    I immediately got quota errors using the access token from the playground.

    So I setup a token using https://github.com/google/google-api-nodejs-client/blob/1bcb74430143e498b9fd58cf2ca2b97da2ed3b07/samples/oauth2.js.

    So far, I've had no quota errors with that token.

    0 讨论(0)
提交回复
热议问题