Generating a refresh token for YouTube API calls using the OAuth playground

preview_player
Показать описание
This tutorial demonstrates the steps it takes to generate a long-lived refresh token for your client ID/client secret pair using the OAuth 2.0 playground. This technique is useful for testing or for uncommon scenarios where you may need to generate a long-lived refresh token without having to include the 3-legged OAuth flow into your own applications.
Рекомендации по теме
Комментарии
Автор

nice video, still useful 10 years later

theskepticcoder
Автор

needed to search around a bit to navigate to the right pages but generally this still works

whistletoe
Автор

This video is very old. Why haven’t they made a new one.

PremiumHowTo
Автор

400. That’s an error.

Error: redirect_uri_mismatch

sapnarajput
Автор

out of date, needs the equivalent for the developer tools

fommil
Автор

i have got a refresh token it is failing to get new access token automatically before older access token expires . it is expiring after 1 hour and showing "refresh token expired" error, then i'm supposed regenerate it again plz tell me any solution
.

TakeoffEduGroup
Автор

How do u obtain an access token from a refresh token within yur code? Can't seem to find documentation on that.

recterbert
Автор

This doesn't seem to work for "installed applications", as the APIs Console doesn't seem to allow for adding in any more Redirect URIs...the installed applications API only defaults in: "urn :ietf:wg:oauth:2.0:oob" and "h t t p ://localhost" redirect URIs.

hornerf
Автор

is it posiblie to make post request to make server to server get token??

aleXelaMec
Автор

how can i use this refresh token to upload a video from java?

jaspm
Автор

Nice explanation and very concise but some screens are outdated in the video (not easy to follow the steps but not impossible)

leoespejo
Автор

If you get an error like 
Error: invalid_client
no application name
Request Details

JamesMillsG
Автор

{
  "error": "invalid_client"
}

xxyouknowwhoxx
Автор

Extremely old, can't take reviews from api, ultra bad and ultra old documentation from Google as always.

xcolibrix