× Joomla Facebook Connect support forum

Topic-icon Prompt for real email

Active Subscriptions:

None
15 years 7 months ago - 15 years 7 months ago #5689 by virtos
Prompt for real email was created by virtos
Aloha,

first of all - very nice Component for Joomla - GZ!

For me there is just one issue: i configured to prompt for email, personal data and for the email adress when a user connects to my site.
Unfortunately the FB Box always prompts for the facebook proxy adress. I know, user can change this, but they wouldn't, they just wanna login fast and directly.

So i run through the FB API Documentation and found the settings for prompting. Since you are using the login button tag, there is a parameter called perms="email":
<fb:login-button v="2" perms="email" onlogin="javascript:fb_login_button_click();">
which prompts for the FB proxy first.

The other way we have done the same is with the Graph/PHP with its done like this:
$loginUrl = $facebook->getLoginUrl(array('req_perms'=>'email','display'=> 'popup'));

Did i miss something or does your module also have this setting to prompt for the real email first?

thx in advance
Last edit: 15 years 7 months ago by virtos.
The topic has been locked.
Support Specialist
15 years 7 months ago #5697 by alzander
Replied by alzander on topic Prompt for real email
Virtos,
I'm not sure where you read that about the API method always asking for the 'good' email over the proxy by default. In every case we've tested (and we've done many on subscribers sites), the 'good' email comes up. Can you post a link to where you found that reference?

Not sure why Facebook would default you (or your application) to the proxy. However, they have a lot of 'behind-the-scenes' control over things like that. For instance, with Invitations, they can limit how many your app or your users can send based on history from your site (how new it is, how many invites are sent, how many invites are accepted, etc). It's possible there's a reason they're defaulting it that way.

If you would, please try logging into both this site and the demo site to see if 'we' default to the proxy. About 95% of our FB user's have their real email in our database, so I'm assuming that's not the case. It's always possible this is a recent change we aren't aware of though.

Let us know your results. It's pretty easy for us to update the Facebook button, but we'd prefer not too for multiple reasons.

Thanks!
The topic has been locked.
Active Subscriptions:

None
15 years 7 months ago #5701 by virtos
Replied by virtos on topic Prompt for real email
Aloha, Alzander,

Mahalo and Thank you for the fast response!

Your site is suggesting the "good" address for my login.
I am working on www.powergeneration.at and there its the proxy one.

So if i understand correctly its on FB to suggest whatever they want, and i cannot ahve influence about this?

Now i am really confused :)

greetings

P.S. maybe there is a difference between using FMBL or Graph API?
The topic has been locked.
Support Specialist
15 years 7 months ago #5710 by alzander
Replied by alzander on topic Prompt for real email
Well huh. Yup, just tried to log in, and I see the proxy being the default. That's very strange, and I've never seen it before.

Your page (and JFBConnect in general) is using the FBML method. The API should generate the exact same URL that you're sent to when you click the FBML button... so I'm very confused why your site is defaulting to the proxy email.

We'll do some more investigation, but I really can't find any information on this from a pretty extensive search.

What I would recommend trying is to follow our guide to creating a Facebook Application. Only fill out the few fields that we specifically note must be filled out, and temporarily try that secret/api key and application information. See if proxy shows up there or real. If it's the real, try to compare your live application settings with the temporary one and let us know any differences that may be at cause. Hopefully, that will help us get to the bottom of it.

Let me know if you have any other questions or ideas, and we'll definitely keep you posted if we learn anything new.
The topic has been locked.
Active Subscriptions:

None
15 years 7 months ago #5750 by virtos
Replied by virtos on topic Prompt for real email
hi again,

to be honest, i am a bit under pressure to get this site running, and i do not have the time at the moment to do more research on this issue. its just a bit weired, because both methods seem to send the right thing. and in fact, i already tried to make a blank app with minimum settings - no difference.

So i did the "old" method to additionally let the members register with my site to connect the profiles, so they get their credentials via email and also have a username and password - its not what i wanted, but anyways....

Will you work on the JFBConnect with the graph API?
i am asking because i read, that FB will kick the FBML....

greetz from austria
The topic has been locked.
Support Specialist
15 years 7 months ago #5751 by alzander
Replied by alzander on topic Prompt for real email
We still don't have an explanation why your site is treated differently. We'll continue investigating, but there isn't anything we've found yet. Glad you have some solution, even if it's not optimal.

Regarding the Graph API, we already support it in many ways, but not every aspect of it. When JFBConnect retrieves profile information, it's through the Graph API and the Javascript library we load from Facebook is the newest API available (which Facebook recommends). This has been the case since the 3.0 release. With upcoming versions, we'll be adding the ability to easily make each page of your site into a "Facebook Node" through the Graph API by adding specific meta tags to your header.

Finally, for the FBML, we watch this closely, and haven't seen that Facebook will be ditching FBML. It's still the most flexible and configurable way that they recommend to implement the social widgets. However, they don't recommend using the FBML to 'new' developers, and instead recommend the iFrame methods for easier implementation. We don't prefer the iFrame method due to the drawbacks it comes with (no styling capabilities, can't resize, etc).

In general though, if Facebook kicked FBML (or any other feature we use widely) to the curb tomorrow, we'd figure out a way around it by implementing whatever they newly recommend. Facebook is always adding (and removing) features, and we've been able to keep pace so far without too many hiccups along the way.
The topic has been locked.