tschellenbach / Django-facebook

Facebook open graph api implementation using the Django web framework in python
http://www.mellowmorning.com/
Other
1.43k stars 543 forks source link

Login flow broke by a recent commit #603

Open prakhar11074 opened 6 years ago

prakhar11074 commented 6 years ago

This commit in PR #602 has broken the login flow for accounts with a verified email.

To fix one can add "verified" to: params['fields'] = 'email,first_name,last_name,name,cover,picture' and make it: params['fields'] = 'email,first_name,last_name,name,cover,picture,verified'

In django_facebook/connect.py line 70: email_verified = facebook_data.get('verified', False) always results in email_verified to be False

I noticed that we are sending version 1 API call here. Any specific reason for that? Just wanted to bring it to your notice since it might get deprecated anytime soon.

Allan-Nava commented 6 years ago

Is still alive this project? And it supports the open graph api ??

FQL is deprecated https://developers.facebook.com/docs/reference/fql/