From 4399298c3ab57ea7b238e7d91e8e76bc04e0ba66 Mon Sep 17 00:00:00 2001 From: ikaroskun Date: Fri, 24 Sep 2021 19:55:34 +0800 Subject: [PATCH] endpoints: update Facebook endpoints, remove the version --- endpoints/endpoints.go | 4 ++-- facebook/facebook.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index f57dba59..1b837490 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -37,8 +37,8 @@ var Cern = oauth2.Endpoint{ // Facebook is the endpoint for Facebook. var Facebook = oauth2.Endpoint{ - AuthURL: "https://www.facebook.com/v12.0/dialog/oauth", - TokenURL: "https://graph.facebook.com/v12.0/oauth/access_token", + AuthURL: "https://www.facebook.com/dialog/oauth", + TokenURL: "https://graph.facebook.com/oauth/access_token", } // Foursquare is the endpoint for Foursquare. diff --git a/facebook/facebook.go b/facebook/facebook.go index 16002821..14c801a2 100644 --- a/facebook/facebook.go +++ b/facebook/facebook.go @@ -11,6 +11,6 @@ import ( // Endpoint is Facebook's OAuth 2.0 endpoint. var Endpoint = oauth2.Endpoint{ - AuthURL: "https://www.facebook.com/v12.0/dialog/oauth", - TokenURL: "https://graph.facebook.com/v12.0/oauth/access_token", + AuthURL: "https://www.facebook.com/dialog/oauth", + TokenURL: "https://graph.facebook.com/oauth/access_token", }