gpt4 book ai didi

reddit - 通过URL发布到Reddit

转载 作者:行者123 更新时间:2023-12-04 00:06:34 35 4
gpt4 key购买 nike

是否可以通过URL发布指向Reddit的链接?

例如,对于Facebook,您可以

<a href="https://www.facebook.com/sharer/sharer.php?u=http://stackoverflow.com">
Share Stackoverflow on your profile!
</a>

Reddit是否具有我可以点击以共享URL的等效端点?

最佳答案

有多种方法可以执行此操作,具体取决于您拥有哪种应用程序。

  • 如果您要进行交互,则可以将用户带到已填写URL和标题的提交页面。以下URL将打开reddit提交表单,并带有此问题的链接:

    http://www.reddit.com/submit?url=https://stackoverflow.com/questions/24823114/post-to-reddit-via-url&title=Post%20to%20Reddit%20via%20URL
  • 如果您只希望人们能够提交您的网站或博客帖子以进行Reddit,则可以在页面上使用reddit button
  • 如果您要编写应用程序或脚本,需要在其中发布URL进行reddit,则可以在reddit API中使用/api/submit路由。如果提交链接的用户的链接业力少于2,则可能会给出一个验证码。
  • 关于reddit - 通过URL发布到Reddit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24823114/

    35 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com