1.首先在https://github.com/settings/developers里面建立一个新的OAuthApps
具体的格式如下:


最后一个很重要,建议Homepage URL和Authorization callback URL填写同一个,也就是你的博客地址
2.在你的github中新建一个空仓库

并且在设置中开启Issues(好像是默认开启)
3.在Hexo的_config.yml中修改gitalk配置,如下:

client_id和client_secret可以在你的OAuthApps找到:

4.然后就可以愉快的玩耍了啊
If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !