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="mailto:[email protected]">[email protected]</a><!-- e -->
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?
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.
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://wiki.developers.facebook.com/index.php/Notifications.sendEmail[/url:2yjwyur8]
Option 2: proxied_email FQL field as outlined here: [url:2yjwyur8]http://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.
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
After clicking FB Connect, they see this
Then their FB details AND their email is stored on Whrrl. I thought this was a nice way of doing it!
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.
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.
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 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.
Has anyone else encounter this when using the interface..
User logs into FaceBook and a new account is established in JomSocial (Account establishment is set to YES).
- user is given the "unknown" email address
- I redirect user to edit profile page... this is all good
BUT the use is unable to edit the email address?
I can't seem to find a way to make it editable??
If you ar eusing jomsocial, it is because the edit details link from jomsocial blocks email change. This was to solve issues with another component.
However i believe this will be changing in future.
You are better off redirecting to the Joomla edit details link instead.