YouTube authentication uses OAuth2 and requires a Google Developer API key as described here: https://developers.google.com/youtube/v3/docs/.
Usage
# S3 method for class 'youtube'
Authenticate(socialmedia, apiKey, ..., verbose = TRUE)
Value
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"
.
Examples
if (FALSE) { # \dontrun{
# youtube authentication with google developer api key
myAPIKey <- "xxxxxxxxxxxx"
youtubeAuth <- Authenticate("youtube", apiKey = myAPIKey)
} # }