View source: R/Authenticate.reddit.R
| Authenticate.reddit | R Documentation |
Reddit does not require authentication in this version of vosonSML.
## S3 method for class 'reddit' Authenticate(socialmedia, ...)
socialmedia |
Character string. Identifier for social media API to authenticate, set to |
... |
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.
## Not run:
# reddit authentication
redditAuth <- Authenticate("reddit")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.