web2py-recipes-source
web2py-recipes-source copied to clipboard
Facebook OAuth2.0
Alec Taylor found a problem with book example. See https://groups.google.com/d/topic/web2py/yd4_yExPwXg/discussion
Return value from FacebookAccout.get_user() method is missing registration_id key.
It must be changed to:
return dict(first_name = user['first_name'], last_name = user['last_name'], username = user['id'], registration_id = user['id'])