Paritosh Singh
Paritosh Singh

Reputation: 6384

Django social-auth: Fetching date of birth, address, and more fields from facebook

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

Upvotes: 3

Views: 1766

Answers (1)

jvc26
jvc26

Reputation: 6513

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.

Upvotes: 6

Related Questions