有没有办法通过 url 在 reddit 上提交文本帖子 [英] Is there a way to submit a text post on reddit via a url

查看:52
本文介绍了有没有办法通过 url 在 reddit 上提交文本帖子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有一种方法可以将链接帖子提交到 reddit.

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

有没有办法启动文本帖子的提交?它真的只需要进入文本"选项卡并填写此页面中的文本"字段

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

澄清一下,我知道Reddit API.我不想采取需要设置 reddit 帐户、reddit 应用程序并管理用户身份验证的方法.我实际上已经尝试过这种方法,但是在我网站的其他方面使用它时存在问题.我正在寻找一些简单的东西,比如上面的提交链接帖子

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

推荐答案

只是猜到了这个,但对我有用.使用text代替url作为参数.

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

当然,您需要对文本进行 url 编码.

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

这篇关于有没有办法通过 url 在 reddit 上提交文本帖子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆