3

I am using django-social-auth app for my social logging. Now I want to fetch more information from facebook like dob,address and many more. In this I tried using putting in settings FACEBOOK_EXTENDED_PERMISSIONS but it is not working for me. Please help me in knowing, how to fetch more information using social auth from facebook, google and twitter

Thanks in advance

Paritosh

jvc26
  • 6,363
  • 6
  • 46
  • 75
Paritosh Singh
  • 6,288
  • 5
  • 37
  • 56
  • Can I just confirm, which Django social auth are you using? django-social-auth (https://github.com/omab/django-social-auth) or django-socialauth (https://github.com/agiliq/Django-Socialauth). The latter seems to be rather unmaintained at the moment, whereas the former seems to be much more active. – jvc26 Mar 14 '12 at 07:42
  • first one, i.e. omab one is being used – Paritosh Singh Mar 15 '12 at 09:35

1 Answers1

6

For the extended permissions with django-social-auth you need to add them to the request selecting permissions you want from facebook permissions. For example in your case, you probably want user_about_me or user_birthday.

FACEBOOK_EXTENDED_PERMISSIONS = ['user_about_me']

For example.

jvc26
  • 6,363
  • 6
  • 46
  • 75