From: Matías Aguirre Date: Mon, 28 May 2012 13:20:43 +0000 (-0300) Subject: Add instagram scope doc to avoid confusions. Refs #345 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d5b9812b4b025d1ae1e0e681f87d1ea5b687ea1d;p=django-social-auth.git Add instagram scope doc to avoid confusions. Refs #345 --- diff --git a/README.rst b/README.rst index de123f4..ef730c1 100644 --- a/README.rst +++ b/README.rst @@ -934,6 +934,10 @@ Instagram uses OAuth v2 for Authentication INSTAGRAM_CLIENT_ID = '' INSTAGRAM_CLIENT_SECRET = '' +- extra scopes can be defined by using:: + + INSTAGRAM_AUTH_EXTRA_ARGUMENTS = {'scope': 'likes comments relationships'} + .. note:: Instagram only allows one callback url so you'll have to change your urls.py to diff --git a/doc/backends/instagram.rst b/doc/backends/instagram.rst index 2bc4260..2eed942 100644 --- a/doc/backends/instagram.rst +++ b/doc/backends/instagram.rst @@ -9,6 +9,10 @@ Instagram uses OAuth v2 for Authentication INSTAGRAM_CLIENT_ID = '' INSTAGRAM_CLIENT_SECRET = '' +- extra scopes can be defined by using:: + + INSTAGRAM_AUTH_EXTRA_ARGUMENTS = {'scope': 'likes comments relationships'} + *Note:* Instagram only allows one callback url so you'll have to change your urls.py to accomodate both ``/complete`` and ``/associate`` routes, for example by having