Description Usage Arguments Examples
This function allows you to authenticate with the reddit API. It will open a browser window, where you will have to authorize. Set up a reddit app here: https://www.reddit.com/prefs/apps And set the redirect uri to: http://localhost:1410/
1 | RedditAuth(key, secret)
|
key |
Your reddit API key |
secret |
Your reddit API secret key |
1 | RedditAuth("YOURAPPKEY", "YOURSECRETKEY")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.