From this post: How can I get the user's facebook id with django-allauth? there is a simple way of accessing extra information from a user's social account within a template (e.g. looking at the entries in {{ user.socialaccount_set.all.0.extra_data }}).
I would like to grab this information in a view, rather than the template, ideally looping through all connected social accounts, and grabbing the more desirable information from each, and then passing only that information to the template.
Does anyone know how to access socialaccount_set.all from within a view?