{"action":"created","issue":{"url":"https://api.github.com/repos/Draveness/blog-comments/issues/91","repository_url":"https://api.github.com/repos/Draveness/blog-comments","labels_url":"https://api.github.com/repos/Draveness/blog-comments/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Draveness/blog-comments/issues/91/comments","events_url":"https://api.github.com/repos/Draveness/blog-comments/issues/91/events","html_url":"https://github.com/Draveness/blog-comments/issues/91","id":269282502,"number":91,"title":"如何自动初始化 Gitalk/Gitment 评论","user":{"login":"Draveness","id":6493255,"avatar_url":"https://avatars0.githubusercontent.com/u/6493255?v=4","gravatar_id":"","url":"https://api.github.com/users/Draveness","html_url":"https://github.com/Draveness","followers_url":"https://api.github.com/users/Draveness/followers","following_url":"https://api.github.com/users/Draveness/following{/other_user}","gists_url":"https://api.github.com/users/Draveness/gists{/gist_id}","starred_url":"https://api.github.com/users/Draveness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Draveness/subscriptions","organizations_url":"https://api.github.com/users/Draveness/orgs","repos_url":"https://api.github.com/users/Draveness/repos","events_url":"https://api.github.com/users/Draveness/events{/privacy}","received_events_url":"https://api.github.com/users/Draveness/received_events","type":"User","site_admin":false},"labels":[{"id":734174582,"url":"https://api.github.com/repos/Draveness/blog-comments/labels/Blog","name":"Blog","color":"f9d0c4","default":false},{"id":733045385,"url":"https://api.github.com/repos/Draveness/blog-comments/labels/Gitalk","name":"Gitalk","color":"ededed","default":false},{"id":734040079,"url":"https://api.github.com/repos/Draveness/blog-comments/labels/gitment","name":"gitment","color":"a59ce2","default":false},{"id":733392124,"url":"https://api.github.com/repos/Draveness/blog-comments/labels/https://draveness.me/git-comments-initialize","name":"https://draveness.me/git-comments-initialize","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-10-28T04:29:10Z","updated_at":"2018-05-10T07:03:27Z","closed_at":null,"author_association":"OWNER","body":"https://draveness.me/git-comments-initialize \n\n 昨天将博客的评论迁移到了 Gitalk，最开始选择了使用 Gitment 作为评论系统，但是由于其开发者很久没有维护、代码七个月也没有更新，所以就选择了有更多人维护的 Gitalk 作为目前博客的评论系统。无论是 Gitalk 还是 Gitment 都只能手动初始化所有文章的评论或者一个一个点开界面，作者觉得这件事情非常麻烦，所以手动抓了一下 Gitalk 和 Gitment 在初始化评论时发出的网络请求后写了一个用于自动化初始评论的脚本。"},"comment":{"url":"https://api.github.com/repos/Draveness/blog-comments/issues/comments/387970758","html_url":"https://github.com/Draveness/blog-comments/issues/91#issuecomment-387970758","issue_url":"https://api.github.com/repos/Draveness/blog-comments/issues/91","id":387970758,"user":{"login":"xumeng","id":2187660,"avatar_url":"https://avatars2.githubusercontent.com/u/2187660?v=4","gravatar_id":"","url":"https://api.github.com/users/xumeng","html_url":"https://github.com/xumeng","followers_url":"https://api.github.com/users/xumeng/followers","following_url":"https://api.github.com/users/xumeng/following{/other_user}","gists_url":"https://api.github.com/users/xumeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xumeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xumeng/subscriptions","organizations_url":"https://api.github.com/users/xumeng/orgs","repos_url":"https://api.github.com/users/xumeng/repos","events_url":"https://api.github.com/users/xumeng/events{/privacy}","received_events_url":"https://api.github.com/users/xumeng/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T07:03:27Z","updated_at":"2018-05-10T07:03:27Z","author_association":"NONE","body":"> @taoyouxian\n> 在使用ruby脚本时出现“{\"message\":\"Validation Failed\"”，请问有什么问题吗？\n有个办法：改下代码截取url一部分，不超过50个字符即可。\n具体可参考http://amonxu.com/2018/05/10/Hello-Gitment/"}}
{"actor":{"display_login":"xumeng"}}