× Joomla Facebook Connect support forum

Topic-icon Facebook Connect E-Mails

Active Subscriptions:

None
15 years 1 month ago #452 by xert77
Hi,
I noticed that users connecting through Facebook do not have proper E-Mails?
I am having all the users from facebook have an email like this:

<!-- e --><a href="This email address is being protected from spambots. You need JavaScript enabled to view it.">This email address is being protected from spambots. You need JavaScript enabled to view it.

But surely if they enter their email into the facebook popup, it is possible to also have their correct E-Mail?

Otherwise they wont recieve Jomsocial community emails?


Dan
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #458 by bravesaintsaturn
You cannot get the user's email address through FBConnect, hence problems arise. This is a FB thing, really.
The topic has been locked.
Support Specialist
15 years 1 month ago #464 by alzander
Replied by alzander on topic Facebook Connect E-Mails
Correct. That 'login' window is hosted on FB's website. There is no way to access the information input there. Basically, Facebook doesn't want other sites to setup a site just to harvest emails, and leaves it to the site to ask for a valid email address.

We recommend you use the redirect to on registration page to redirect users to their profile page to update their email address. We are investigating other methods of asking/requesting/requiring users to re-enter their email address to create an account, but don't have anything in place yet.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #474 by cgraham149
Replied by cgraham149 on topic Facebook Connect E-Mails
Just a few thought on the topic...

Obviously, the easier way would be to have the user give you their email address directly. However, I believe there is a way to send system emails to users via Facebook Connect without actually having their email on file, but the user needs to accept Extended Permissions during authentication. According to the FB Connect documentation, there are two methods:

Option 1: notifications.sendEmail as outlined here: [url:2yjwyur8]http&#58;//wiki.developers.facebook.com/index.php/Notifications.sendEmail[/url:2yjwyur8]

Option 2: proxied_email FQL field as outlined here: [url:2yjwyur8]http&#58;//wiki.developers.facebook.com/index.php/User_(FQL)[/url:2yjwyur8]

Option 1 has a limitation of 100 emails per method call, which basically means you would need to batch your system email into groups of 100 somehow. Not sure if these options could somehow be integrated or if I'm mis-interpreting their usage somehow.

Cheers!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #475 by cgraham149
Replied by cgraham149 on topic Facebook Connect E-Mails
Follow up post - here is another way to gather the email on Facebook sign-in - based on Whrrl:

Once the user clicks sign-in, they are presented this window
whrrl-01.jpg

After clicking FB Connect, they see this
whrrl-02.jpg

Then their FB details AND their email is stored on Whrrl. I thought this was a nice way of doing it!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #477 by russellharrower
is there anyway of NOT importing the users email and then re-direct them to home/edit/editDetails and ask them for there email address there?
The topic has been locked.
Support Specialist
15 years 1 month ago #490 by alzander
Replied by alzander on topic Facebook Connect E-Mails
russellharrower:
I'm not sure what you mean. Depending on whether there should or shouldn't be comma's in your sentence, and the emphasis of NOT.. it's unclear.

Currently, we do NOT import the users email and then you (as admin) have the ability to redirect them to the home/edit/editDetails page to ask the email there.

Cgraham149:
We'll look into how Whrrl is doing that. Our understanding (from our reading of the FB Connect login) was that you weren't allowed to capture emails upon login, but if we can, great!

Also, for the 2 options you note below, those are methods of sending emails to users. Yes, that may work, but it's only intended for system emails.. depending on your site, you may want people to see each others emails. We'd definitely like a system where we ask/fetch the email from the user/FB so that normal Joomla functionality works. There's no easy way to override the internal email system.. so while JFBConnect may be able to send users confirmation/system emails, no other component would be able to.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #498 by russellharrower
Why not just re-direct the user to home/edit/editDetails
and NOT create an unknown email address
so when they are on home/edit/editDetails
they HAVE to imput an email address, Would be great though if it would also send an activation email to make sure the email address is a real one.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #502 by cgraham149
Replied by cgraham149 on topic Facebook Connect E-Mails
@sourcecoast

The Whrrl request for email comes after the user has already authenticated their Facebook account thus skirting FB requirement to not ask for it on Auth. It would be the same as a redirect to the user's edit details page...just a little more elegant because it's all done via JQUERY / AJAX I believe.

Cheers!
The topic has been locked.
Support Specialist
15 years 1 month ago #504 by alzander
Replied by alzander on topic Facebook Connect E-Mails
Gotcha, thanks for clarifying. Yeah, we're investigating something along those lines. It won't be immediate, but realize how useful it would be to have that as an option.
The topic has been locked.