4

我正在尝试使用 Disqus API 发布匿名评论,但没有成功。我正在使用具有以下设置的 Fiddler Composer:

POST http://disqus.com/api/3.0/posts/create.json

Host: disqus.com
Referer: http://www.domain.com

thread=1271948405&message=test0xyanonnn&api_key=mypublickey&author_email=xxx@xxx.xd&author_name=xxx

我得到的回应是

{"code": 12, "response": "This application cannot create posts on the chosen forum

我已将 domain.com(此处为我的域)添加到 API 中的受信任域和 Disqus 管理员中的网站页面。

欢迎任何想法!

4

1 回答 1

0

我已经建立了解决方案。如果您想以访客身份发帖,则必须在请求中将其替换为“ api_secret” ,并且评论将被发布。api_keyE8Uh5l5fHZ6gD8U3KycjAIAk46f68Zw7C6eW8WSjZvCLXebZ7p0r1yrYDrLilk2F

于 2015-04-29T09:41:41.377 回答