When a a new Drupal account is created via the Facebook login method the email address is left blank.
Is it possible/worth grabbing a proxied email address via getInfo() 'proxied_email' attribute?
(see http://wiki.developers.facebook.com/index.php/Proxied_Email)
Without an email address in the Drupal account prevents the user from updating any account details. But I supose this is a good way to force them to enter a valid email address at a later date :)
Comments
Comment #1
buddaI got this working fairly easily - however the proxy email addresses generated by facebook are rather long, and thus don't fit in to the Drupal users db field ! Email address is restricted to 64 characters.
i don't think its encouraged to modify other modules db tables either....
Comment #2
halkeye commentedwell that feature wasn't available when I first wrote the module.
Its easy enough (although kinda hacky) to store the address.
I am worried about how to tie in the "asking for send email" permission thing.
this will require some looking into.
Comment #3
buddaWhen i called the API i didn't need to add any additional requesting for permission, it just came back.
Comment #4
halkeye commentedSee #358037: Module breaks if two users with same name tries to log in (as reported by gkapoor in #345540)