reddit

Is there a way to submit a text post on reddit via a url


I know there's a way to submit a link post to reddit.

https://www.reddit.com/r/test/submit?title=myTitle&url=http://www.exampledsfsd.com

which pops up a page like this with the title and url filled in

enter image description here

Is there a way to initiate the submission of a text post? It really just needs to get to the "text" tab and fill on the "text" field in this page

enter image description here

Just to be clear, I'm aware of the Reddit API. I don't want to take an approach that requires setting up a reddit account, a reddit app, and manage authentication for the user. I actually already tried this approach but there are issues with using it with other aspects of my site. I'm looking for something simple like the submit Link Post above


Solution

  • Simply guessed at this one, but it worked for me. Use text as the parameter instead of url.

    https://www.reddit.com/r/test/submit?title=myTitle&text=testing
    

    Of course, you'll need to url encode your text.