title
(required): The title of the post on Reddit.subreddit
(required): The subreddit to send the post. Please be sure to follow the subreddit's posting guidelines. A good subreddit to use for testing is /r/test/ and can be viewed at: https://www.reddit.com/r/test/link
(optional): If posting to Reddit and you want to post a link instead of text to the subreddit. While the post
parameter text is still required, it is not included in the post since Reddit links can't have a text body.mediaUrl
parameter or the link
parameter of redditOptions
. Images posted as a link
will resolve to the full image. post
parameter text is ignored, but is still required to successfully submit the post. Reddit restricts posting images and text together to their online "fancy pants" editor. This means either an image or text can be posted, but not both at the same time.SUBREDDIT
is the name of the subreddit you want to get the flair. We suggest storing the IDs for later use.