library(RedditExtractoR)
reddit_links <- reddit_urls(
search_terms = "donald",
page_threshold = 1
)
reddit_thread <- reddit_content(reddit_links$URL[1])
str(reddit_thread)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.