instagram: add Instagram endpoints

This commit is contained in:
a.lukinykh 2018-07-24 16:17:30 +05:00
parent 5b545f803b
commit 2d64329276
1 changed files with 2 additions and 2 deletions

View File

@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Package instagram provides constants for using OAuth2 to access instagram.com. // Package instagram provides constants for using OAuth2 to access Instagram.
package instagram // import "golang.org/x/oauth2/instagram" package instagram // import "golang.org/x/oauth2/instagram"
import ( import (
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )
// Endpoint is Instagram OAuth 2.0 endpoint. // Endpoint is Instagram's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{ var Endpoint = oauth2.Endpoint{
AuthURL: "https://api.instagram.com/oauth/authorize", AuthURL: "https://api.instagram.com/oauth/authorize",
TokenURL: "https://api.instagram.com/oauth/access_token", TokenURL: "https://api.instagram.com/oauth/access_token",