mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Merge branch 'master' of https://github.com/codecombat/codecombat
This commit is contained in:
commit
319a0ef381
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ module.exports = FacebookHandler = class FacebookHandler extends CocoClass
|
|||
FB.api('/me', {fields: 'email,last_name,first_name,gender'}, @onReceiveMeInfo)
|
||||
|
||||
onReceiveMeInfo: (r) =>
|
||||
console.log "Got Facebook user info:", r
|
||||
unless r.email
|
||||
console.error('could not get data, since no email provided')
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue