mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2025-12-06 08:48:27 +08:00
📌 升级 FaceBook API 版本到 v10.0
This commit is contained in:
parent
ba56f5ab5a
commit
3e890f2c2a
@ -315,17 +315,17 @@ public enum AuthDefaultSource implements AuthSource {
|
||||
FACEBOOK {
|
||||
@Override
|
||||
public String authorize() {
|
||||
return "https://www.facebook.com/v9.0/dialog/oauth";
|
||||
return "https://www.facebook.com/v10.0/dialog/oauth";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String accessToken() {
|
||||
return "https://graph.facebook.com/v9.0/oauth/access_token";
|
||||
return "https://graph.facebook.com/v10.0/oauth/access_token";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String userInfo() {
|
||||
return "https://graph.facebook.com/v9.0/me";
|
||||
return "https://graph.facebook.com/v10.0/me";
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user