flask-social-blueprint
flask-social-blueprint copied to clipboard
Facebook doesn't return first name and last name
When i logged in with facebook, i got:
{'username': None, 'last_name': None, 'cn': None, 'profile_id': '...', 'first_name': None, 'access_token': u'...', 'secret': None, 'image_url': '...', 'provider': 'Facebook', 'email': '...', 'profile_url': '...'}
Quick fix till the source gets corrected: change line 138 in providers.py to: profile = graph.get_object("me?fields=email,first_name,last_name,name")
Hard coding an url data creates other problems. This is not the way to go (thx @toddetzel)
Please check if it solves the issue I'll make release
Can you update pip version ?
Please check if it solves the issue I'll make release
how ?:D can i download git version via pip ?
Do you update pip ?