зеркало из https://github.com/golang/oauth2.git
endpoints: update Facebook endpoints, remove the version
This commit is contained in:
Родитель
872c26548d
Коммит
4399298c3a
|
@ -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",
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче