From 5b545f803b33494c98c6ed2a34f63dba99b376b4 Mon Sep 17 00:00:00 2001 From: "a.lukinykh" Date: Tue, 24 Jul 2018 16:04:26 +0500 Subject: [PATCH] instagram: add Instagram endpoints --- instagram/instagram.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 instagram/instagram.go diff --git a/instagram/instagram.go b/instagram/instagram.go new file mode 100644 index 0000000..2d9f9f7 --- /dev/null +++ b/instagram/instagram.go @@ -0,0 +1,16 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package instagram provides constants for using OAuth2 to access instagram.com. +package instagram // import "golang.org/x/oauth2/instagram" + +import ( + "golang.org/x/oauth2" +) + +// Endpoint is Instagram OAuth 2.0 endpoint. +var Endpoint = oauth2.Endpoint{ + AuthURL: "https://api.instagram.com/oauth/authorize", + TokenURL: "https://api.instagram.com/oauth/access_token", +}