Forum is closed

Facebook Connect E-Mails

Facebook Connect E-Mails

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="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?


Dan

xert77
useravatar
Offline
9 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Connect E-Mails

You cannot get the user's email address through FBConnect, hence problems arise. This is a FB thing, really.

bravesaintsaturn
useravatar
Offline
3 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: 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.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24059 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: 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://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.

Cheers!

cgraham149
useravatar
Offline
3 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: 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!

cgraham149
useravatar
Offline
3 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Connect E-Mails

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?

russellharrower
useravatar
Offline
8 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: 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.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24059 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Connect E-Mails

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.

russellharrower
useravatar
Offline
8 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: 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!

cgraham149
useravatar
Offline
3 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: 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.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24059 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Connect E-Mails

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??

sportbikes
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Connect E-Mails

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.

xert77
useravatar
Offline
9 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Connect E-Mails

xert77 - thanks!  That was new info for me and appreciated.

sportbikes
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11640
Total Polls:
0
Total Posts:
48895
Posts today:
1
User Info
 
Total Users:
47748
Newest User:
SamRodgers4
Members Online:
3
Guests Online:
759

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program