I just created a web application using django. It has a login page where a user can login using facebook or twitter or github and I did that using django_social_auth2.
In my settings.py, I added the required authentication backends:
AUTHENTICATION_BACKENDS = (
added social_django in my installed apps and ask for the following informations:
SOCIAL_AUTH_FACEBOOK_SCOPE = [
A user who wants to login, gets the following message:
And in the admin page, I get a token with the granted informations.
Now, what I want to do is extract the user's informations without having to paste the token in the facebook graph API explorer. How can I do this in python and integrate it in my Django app ?
I have read the documentation regarding the granted informations and the users will only be me and my teaching assistant.