gitment
gitment copied to clipboard
Error: Comments Not Initialized
<div id="comment_thread"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
var gitment = new Gitment({
owner: 'dijkst',
repo: 'dijkst.github.com',
oauth: {
client_id: 'ef6ee073162a12e7362f',
client_secret: 'f6c454aad6218c8a857216260a6091f92f638af4',
},
})
gitment.render('comment_thread')
</script>
注意,这里的owner dijkst 不是账号名,而是组织名称,因此没有直接登陆的账号。而我的账号是 Whirlwind 是这个组织的管理员。现在用 Whirlwind 登陆后,评论还是提示 Error: Comments Not Initialized,并无初始化按钮。如何处理?
Error: Comments Not Initialized
- 在注册OAuth Application这个步骤中,给Authorization callback URL指定的地址错了 -还没有在该页面的Gitment评论区登陆GitHub账号
具体原因可以查看我博客:https://ihtcboy.com/2018/02/25/2018-02-25_Gitment评论功能接入踩坑教程/
https://advance-esthetic.us/rf-facial-machines