request = urllib.request.Request(url)
friends = json.loads(urllib.request.urlopen(request).read()).get('data')
for friend in friends:
    pass
How to retrieve Facebook friend's information with Python-Social-auth and Django