YouTube API + Python = OAuth 2.0 авторизация, client_secret, scopes / ч.4

Azzrael Code
Azzrael Code
5.8 هزار بار بازدید - 3 سال پیش - In this video, I get
In this video, I get the OAuth token of the application in the Google Cloud Platform console. From a Python application, I ask for user permissions and store them in an updatable token. In the next experiments with this token, I will upload videos generated with ffmpeg to YouTube.

💩 P.S .: The video came out chaotic (especially in places in terms of;))), but the essence is clear, I hope.

00:42 Why OAuth2 authorization if you already have an API Key (see the video before YouTube API + Python = Получаю статис...)
02:54 Filling out the Consent Screen of the application in the Google Cloud Platform
06:10 Create OAuth 2.0 Client ID
08:25 I ask the user for permission - theory
09:47 Scopes Application https://developers.google.com/identit...
12:47 Two ways to request a user - only through the console with a copy-paste of the code and with saving / updating creds
14:15 I get Authorization Error 403 access_denied and add a test user to an unmoderated application

😈 Code, as usual in the text in the article
https://azzrael.ru/youtube-api-p3-2-o...
there are all links to osprey, consoles, etc.


#googleapi #youtubeapi #python
3 سال پیش در تاریخ 1400/02/06 منتشر شده است.
5,812 بـار بازدید شده
... بیشتر