How to retrieve Facebook friend's information with Python-Social-auth and Django
How can I retrieve Facebook friend's information using Python-Social-auth and Django? I already retrieve a profile information and authenticate the user, but I want to get more information about their friends and invite them to my app. Thanks! You can do it using Facebook API. Firstly, you need obtain the token of your Facebook application ( FACEBOOK_APP_ACCESS_TOKEN ) https://developers.facebook.com/tools/accesstoken/ or from social_user.extra_data['access_token'] Then with this token you can send the requests you need, for example, this code gets all the friends of the authenticated user