web2py-recipes-source icon indicating copy to clipboard operation
web2py-recipes-source copied to clipboard

Facebook OAuth2.0

Open michele-comitini opened this issue 13 years ago • 0 comments

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'])

michele-comitini avatar Jun 20 '12 11:06 michele-comitini