shenliyang / hexo-theme-snippet

Snippet 简洁而不简单,也许是一款你寻找已久的hexo主题
https://snippet.shenliyang.com/
MIT License
1.09k stars 210 forks source link

弃用 api #165

Closed s2339956 closed 4 years ago

s2339956 commented 4 years ago
On February 6th, 2020 at 07:31 (UTC) your application (hxeo-blog-) used its `client_id` and `client_secret` (with the User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36) as part of a set of query parameters to access an endpoint through the GitHub API:

https://api.github.com/repositories/0/issues

Please use Basic Authentication instead as using OAuth credentials in query parameters has been deprecated.

Depending on your API usage, we'll be sending you this email reminder at most once every 3 days.
Just one URL that was accessed with a User-Agent combination will be listed in the email reminder, not all.

Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.

我最近得到这样一个回覆,请问这是什么问题呢?!

Hanpeng-Chen commented 4 years ago

github弃用了使用client_id和client_secret的方式,如果你有用启用gitalk的话,把gitalk.ejs中gitalk.min.css的版本改成1.5.2的就可以了 https://cdn.bootcss.com/gitalk/1.5.2/gitalk.min.css

shenliyang commented 4 years ago

感谢,已收到

s2339956 commented 4 years ago

感谢