New Drupal account missing email

budda - December 14, 2008 - 20:55
Project:Facebook - Auth
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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 :)

#1

budda - December 14, 2008 - 22:17

I 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....

#2

halkeye - December 16, 2008 - 04:03

well 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.

#3

budda - December 17, 2008 - 11:07

When i called the API i didn't need to add any additional requesting for permission, it just came back.

 
 

Drupal is a registered trademark of Dries Buytaert.