greetings,
one could publish the adapted code
to login on instagram?
try to, but I overcame :(
I do not have the ability to adapt
oauth20_account.py to work with it:
from instagram.client import InstagramAPI
instagram_api = InstagramAPI(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET, redirect_uri=REDIRECT_URI)
auth.settings.login_url = instagram_api.get_authorize_login_url(scope =
'basic')
instagram_code = request.vars.code or None
if instagram_code:
instagram_token, user_info =
instagram_api.exchange_code_for_access_token(code)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.