📌 升级 FaceBook API 版本到 v9.0

This commit is contained in:
yadong.zhang 2021-01-01 10:40:18 +08:00
parent f5e3c225f6
commit 824c68356d
2 changed files with 5 additions and 4 deletions

View File

@ -6,10 +6,11 @@
- PR - PR
- 合并 [Github #101](https://gitee.com/yadong.zhang/JustAuth/pulls/101):支持喜马拉雅登录 - 合并 [Github #101](https://gitee.com/yadong.zhang/JustAuth/pulls/101):支持喜马拉雅登录
- 合并 [Github #105](https://gitee.com/yadong.zhang/JustAuth/pulls/105):支持企业微信网页授权登录 - 合并 [Github #105](https://gitee.com/yadong.zhang/JustAuth/pulls/105):支持企业微信网页授权登录
- 合并 [Github #107](https://gitee.com/yadong.zhang/JustAuth/pulls/107)添加AuthAlipayRequest网络代理构造器 - 合并 [Github #107](https://gitee.com/yadong.zhang/JustAuth/pulls/107)添加AuthAlipayRequest网络代理构造器,解决 Github Issue [#102](https://github.com/justauth/JustAuth/issues/102)
- 修改 - 修改
- 修改喜马拉雅配置参数,将`ClientOsType`参数提到 AuthConfig 中 - 修改喜马拉雅配置参数,将`ClientOsType`参数提到 AuthConfig 中
- AuthChecker 中增加对喜马拉雅平台的校验 - AuthChecker 中增加对喜马拉雅平台的校验
- 升级 facebook api 版本到 v9.0,解决 Gitee Issue [#I2AR5S](https://gitee.com/yadong.zhang/JustAuth/issues/I2AR5S)
## 1.15.8 ## 1.15.8

View File

@ -315,17 +315,17 @@ public enum AuthDefaultSource implements AuthSource {
FACEBOOK { FACEBOOK {
@Override @Override
public String authorize() { public String authorize() {
return "https://www.facebook.com/v3.3/dialog/oauth"; return "https://www.facebook.com/v9.0/dialog/oauth";
} }
@Override @Override
public String accessToken() { public String accessToken() {
return "https://graph.facebook.com/v3.3/oauth/access_token"; return "https://graph.facebook.com/v9.0/oauth/access_token";
} }
@Override @Override
public String userInfo() { public String userInfo() {
return "https://graph.facebook.com/v3.3/me"; return "https://graph.facebook.com/v9.0/me";
} }
}, },
/** /**