Skip to content

Commit 3d292e4

Browse files
a.lukinykhbradfitz
a.lukinykh
authored andcommitted
instagram: add Instagram endpoints
Change-Id: Ibb180f48013a398d597f56e14f081842735957df GitHub-Last-Rev: 2d64329 GitHub-Pull-Request: golang#304 Reviewed-on: https://go-review.googlesource.com/125639 Reviewed-by: Tim Cooper <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent ef14785 commit 3d292e4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

instagram/instagram.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2018 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package instagram provides constants for using OAuth2 to access Instagram.
6+
package instagram // import "golang.org/x/oauth2/instagram"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Instagram's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://api.instagram.com/oauth/authorize",
15+
TokenURL: "https://api.instagram.com/oauth/access_token",
16+
}

0 commit comments

Comments
 (0)