-
Notifications
You must be signed in to change notification settings - Fork 536
Open
Description
facebook_data = converter.facebook_profile_data() is without 'email'
JS SDK
FB.api('/me?fields=name,email', function(response) {
console.log(response);
});
`
@classmethod
def _convert_facebook_data(cls, facebook_profile_data, username=True):
'''
Takes facebook user data and converts it to a format for
usage with Django
'''
user_data = facebook_profile_data.copy()
profile = facebook_profile_data.copy()
website = profile.get('website')
if website:
user_data['website_url'] = cls._extract_url(website)
user_data['facebook_profile_url'] = profile.get('link')
user_data['facebook_name'] = profile.get('name')
NO EMAIL !!!!! WHY ????
if len(user_data.get('email', '')) > 75:
# no more fake email accounts for facebook
del user_data['email']
`
Please add the option to set the API version in OpenFacebook
Creating an account with form filling for a model is nonsense - it is no 'login via facebook'.
How to make automatic registration without email ???
Metadata
Metadata
Assignees
Labels
No labels