Page 1 of 1

Sign up With facebook

PostPosted: 23 Sep 2015, 07:49
by Ashwini
when i am registered with facebook , my original mail id is not saved in db.. everytime it creates new mail id , like - "34e89695@null.io" . How to save my Original mail -id in db ??

Re: Sign up With facebook

PostPosted: 23 Sep 2015, 10:27
by Xpycm
Hello.

A few versions back, when we developed the option to authorize with social network accounts, Facebook didn't allow to extract user's email.

In the file of the script protected\extensions\eauth\custom_services\CustomFBService.php there's even a line:
Code: Select all
 protected $scope 'email'


and below:
Code: Select all
 $this->attributes['email'] = (isset($info->email) && $info->email) ? $info->email ''


However, it seems like email still can't be extracted from Facebook or you need to switch on a certain setting.

You'd better ask Facebook support about this.

Anyway, it's not actually a bug and we aren't currently planning to develop email extraction while authorizing with Facebook.

That's why you're free to get this working on your site on your own.