endpoints: update Facebook endpoints, remove the version

This commit is contained in:
ikaroskun 2021-09-24 19:55:34 +08:00
Родитель 872c26548d
Коммит 4399298c3a
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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",
}