fooleap / disqus-php-api

利用 PHP cURL 转发 Disqus API 请求
MIT License
303 stars 54 forks source link

提交失败,请稍后重试,错误代码:12 #56

Closed hzxie closed 4 years ago

hzxie commented 4 years ago
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <title>Disqus PHP API 示例</title>
        <style>
            body{
                max-width: 640px;
                width: 100%;
                margin: 0 auto;
                overflow-x: hidden;
                font-size: 13px;
            }
            a{
                color: #0095dd;
            }
        </style>
    <link href="iDisqus.min.css" rel="stylesheet"><script type="text/javascript" src="iDisqus.min.js"></script></head>
    <body>
        <p>本页共有 <span data-disqus-url="https://infinitescript.com/contact/"></span> 条评论,
        项目地址:<a href="https://github.com/fooleap/disqus-php-api" target="_blank">https://github.com/fooleap/disqus-php-api</a></p>
        <div id="comment"></div>
        <script>
            var disq = new iDisqus('comment', {
                forum: 'zjhzxhz',
                site: 'https://infinitescript.com',
                api: 'https://disqus.infinitescript.com',
                url: 'https://infinitescript.com/contact/',
                mode: 2,
                timeout: 3000,
                init: true,
                emojiPreview: true
            });
            disq.count();
        </script>
    </body>
</html>

当匿名提交评论时,提示“提交失败,请稍后重试,错误代码:12”。 错误代码12给出的信息是:You cannot set 'state' because you are not a moderator of this thread.

Guest Commenting已开启。

hzxie commented 4 years ago

愚蠢的我填错了密码。