Reddit does not require authentication in this version of vosonSML.
# S3 method for reddit
Authenticate(socialmedia, ...)Character string. Identifier for social media API to authenticate, set to "reddit".
Additional parameters passed to function. Not used in this method.
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".
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.
if (FALSE) {
# reddit authentication
redditAuth <- Authenticate("reddit")
}