Anonymous record creation using disqus API fails

I am trying to use the Disqus API for anonymous commenting without success. I am using Fiddler Composer with the following settings:

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 

The answer I get is

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

I added domain.com (my domain here) to the trusted domains on the API and website pages in the Disqus admin.

Any ideas are welcome!

+4
source share
1 answer

I founded the solution. If you want to publish as a guest, you must replace this api_secret with api_key in the request, which is " E8Uh5l5fHZ6gD8U3KycjAIAk46f68Zw7C6eW8WSjZvCLXebZ7p0r1yrYDrLilk2F " and comments will be published.

0
source

Source: https://habr.com/ru/post/1479767/


All Articles