From 383b41af74678a522b6c58b01f08827be90444e5 Mon Sep 17 00:00:00 2001 From: liangliangyy Date: Tue, 4 Apr 2023 13:53:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0facebook=20oauth=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oauth/oauthmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth/oauthmanager.py b/oauth/oauthmanager.py index 6d7ebf9..2e7ceef 100644 --- a/oauth/oauthmanager.py +++ b/oauth/oauthmanager.py @@ -319,8 +319,8 @@ class GitHubOauthManager(ProxyManagerMixin, BaseOauthManager): class FaceBookOauthManager(ProxyManagerMixin, BaseOauthManager): - AUTH_URL = 'https://www.facebook.com/v2.10/dialog/oauth' - TOKEN_URL = 'https://graph.facebook.com/v2.10/oauth/access_token' + AUTH_URL = 'https://www.facebook.com/v16.0/dialog/oauth' + TOKEN_URL = 'https://graph.facebook.com/v16.0/oauth/access_token' API_URL = 'https://graph.facebook.com/me' ICON_NAME = 'facebook'