bbangert / velruse

Simplifying third-party authentication for web applications.
http://packages.python.org/velruse/index.html
MIT License
252 stars 86 forks source link

Facebook Login is broken: KeyError: 'access_token' #158

Open katzlbt opened 7 years ago

katzlbt commented 7 years ago

facebook.py crashes File "distlib/velruse/providers/facebook.py", line 121, in callback access_token = dict(parse_qsl(r.text))['access_token'] KeyError: 'access_token'

Facebook Graph API v2.2 ENDS 27 March, 2017

Graph API v2.2 which will reach the end of its 2-year lifetime on 27 March, 2017. To ensure a smooth transition, please migrate all calls to Graph API v2.3 or higher.

To check if your app will be affected by this upgrade you can use the Version Upgrade Tool. This will show you which calls, if any, are affected by this change as well as any replacement calls in newer versions. If you do not see any calls, your app may not be affected by this change.

You can also use our changelog to see the full list of changes in all Graph API versions.

You can view this and other Developer Notifications related to your app, in the App Dashboard.

katzlbt commented 7 years ago

This could fix it: https://github.com/bbangert/velruse/pull/157

jenstroeger commented 6 years ago

The above PR hasn’t been integrated yet?

katzlbt commented 6 years ago

Well, the last commit to this repo was 4 years ago. Its dead!

jenstroeger commented 6 years ago

I contacted the author, but Ben hasn’t responded yet.