Skip to contents

Reddit does not require authentication in this version of vosonSML.

Usage

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

Arguments

socialmedia

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

...

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

verbose

Logical. Output additional information. Default is TRUE.

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

if (FALSE) { # \dontrun{
# reddit authentication
redditAuth <- Authenticate("reddit")
} # }