Authenticate.reddit: Reddit API authentication

View source: R/Authenticate.reddit.R

Authenticate.redditR Documentation

Reddit API authentication

Description

Reddit does not require authentication in this version of vosonSML.

Usage

## S3 method for class 'reddit'
Authenticate(socialmedia, ...)

Arguments

socialmedia

Character string. Identifier for social media API to authenticate, set to "reddit".

...

Additional parameters passed to function. Not used in this method.

Value

A credential object containing a $auth = NULL value and social media type descriptor $socialmedia set to "reddit". Object has the class names "credential" and "reddit".

Note

Even though reddit does not require authentication in this version of vosonSML the Authenticate function must still be called to set the socialmedia identifier. This is used to route to the appropriate social media Collect function.

Examples

## Not run: 
# reddit authentication
redditAuth <- Authenticate("reddit")

## End(Not run)


vosonSML documentation built on Aug. 16, 2022, 5:14 p.m.