AuthenticateWithYoutubeAPI: Note: this function is DEPRECATED and will be removed in a...

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/AuthenticateWithYoutubeAPI.R

Description

YouTube API Authentication

Usage

1

Arguments

apiKeyYoutube

character string specifying your Google Developer API key.

Details

OAuth based authentication with the Google API

In order to collect data from YouTube, the user must first authenticate with Google's Application Programming Interface (API). Users can obtain a Google Developer API key at: https://console.developers.google.com

Value

This is called for its side effect.

Note

In the future this function will enable users to save the API key in working directory, and the function will automatically look for a locally stored key whenever it is called without apiKeyYoutube argument.

Author(s)

Timothy Graham <timothy.graham3@uq.net.au> & Robert Ackland <robert.ackland@anu.edu.au>

See Also

AuthenticateWithFacebookAPI and AuthenticateWithTwitterAPI for other ways to collect social media data.

Examples

1
2
3
4
5
6
7
## Not run: 
  # Replace with your Google Developer API Key:
  my_apiKeyYoutube <- "314159265358979qwerty"

  apiKeyYoutube <- AuthenticateWithYoutubeAPI(my_apiKeyYoutube)

## End(Not run)

SocialMediaLab documentation built on May 29, 2017, 9:41 p.m.