请记住,“线程”正在寻找的默认值是 Disqus 内部线程 ID(而不是您的情况下的 Wordpress ID)。但是,您可以使用disqus_identifier
通过 Wordpress 插件设置的自定义(在博客文章的源代码中查找该值),或者如果您forum=YOUR_SHORTNAME
另外传递,则可以使用与线程关联的 URL。
所以这里是你如何选择一个线程:
// Example using Disqus internal ID
POST https://disqus.com/api/3.0/posts/create.json
(your arguments)...
thread=12345678
// Example using disqus_identifier
POST https://disqus.com/api/3.0/posts/create.json
(your arguments)...
thread=ident:256 http://www.myblog.com/?p=256 // This is the schema used in the WP plugin
forum=YOUR_SHORTNAME
// Example using URL (this is the least reliable)
POST https://disqus.com/api/3.0/posts/create.json
(your arguments)...
thread=link:http://www.myblog.com/some_slug
forum=YOUR_SHORTNAME