YouTube authentication uses OAuth2 and requires a Google Developer API key as described here: https://developers.google.com/youtube/v3/docs/.
auth_youtube_apikey(api_key, verbose = FALSE, ...)Character string. Google developer API key to authenticate.
Logical. Output additional information. Default is FALSE.
Additional parameters passed to function. Not used in this method.
A credential object containing an api key $auth and social media type descriptor
$socialmedia set to "youtube". Object has the class names "credential" and "youtube".
if (FALSE) {
# youtube authentication with google developer api key
auth <- auth_youtube_apikey("xxxxxxxxxxxx")
}