Facebook scope for birthday not working as expected
vic3king opened this issue · 0 comments
vic3king commented
Package version
v.2.1.3
Node.js and npm version
Node: 10.12.0
Npm: 6.9.0
Sample Code (to reproduce the issue)
According to the docs to get birthday we pass in birthday
but that throws an error
await ally
.driver('facebook')
.scope(['email', 'birthday'])
.redirect();
I changed the code to according to facebook oAuth scope... This doesn't throw an error but from the payload returned I dont get to see the birthday.
await ally
.driver('facebook')
.scope(['email', 'user_birthday'])
.redirect();