[Python-modules-commits] [python-social-auth] 51/71: Changed instagram backend to new authorization routes

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.14
in repository python-social-auth.

commit 8977cf773479414bce0501ff6a48f5b1f61abe56
Author: Romulo Tavares <romuloctavares at gmail.com>
Date:   Sat Dec 5 12:35:24 2015 -0200

    Changed instagram backend to new authorization routes
---
 social/backends/instagram.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/social/backends/instagram.py b/social/backends/instagram.py
index d67134a..494d8e2 100644
--- a/social/backends/instagram.py
+++ b/social/backends/instagram.py
@@ -11,8 +11,8 @@ from social.backends.oauth import BaseOAuth2
 
 class InstagramOAuth2(BaseOAuth2):
     name = 'instagram'
-    AUTHORIZATION_URL = 'https://instagram.com/oauth/authorize'
-    ACCESS_TOKEN_URL = 'https://instagram.com/oauth/access_token'
+    AUTHORIZATION_URL = 'https://api.instagram.com/oauth/authorize'
+    ACCESS_TOKEN_URL = 'https://api.instagram.com/oauth/access_token'
     ACCESS_TOKEN_METHOD = 'POST'
 
     def get_user_id(self, details, response):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list