Authenticate.reddit {vosonSML} | R 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 |
... |
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)
[Package vosonSML version 0.32.7 Index]