Topic-icon facebook login not working

Active Subscriptions:

None
13 years 10 months ago #24669 by diaetazubi
hello alex,
everything work fine after your last help, but now i have a new big problem:
After facebook-login with sclogin nothing happen. Only the "login with fb" button change to "sign-up".
In the Backend i have no new user or any thing else.
When i use joomla registration, every thing works fine.

Thanks for any ideas.
The topic has been locked.
Support Specialist
13 years 10 months ago #24689 by alzander
Replied by alzander on topic facebook login not working
I just registered on your site without any issue. I then logged out and logged back in, again, without any problems.

Can you try from a different browser or a different Facebook user to see if that changes the behavior? It may still be an issue, but we'll just need to narrow down the specifics some more.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24760 by diaetazubi
Thank you for testing my site. I dont understand how that could be. Your registration work exactly how i try it for days.
I tested it with 2 different facebook-accounts from different pc with different browser.
here my steps:
register on my site with standart form and email-registration-link (normal login works).
but when i login "with facebook button" there is the problem: i cant see the modules for members but the facebookbutton shows that i am "login".
The avatar dont work in kunena at my tests, but with your registration it works.

How could that be?
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24762 by diaetazubi
I found out that it is a problem only from firefox, opera and explorer. On safari it works perfectly.
I have no idea why???
The topic has been locked.
Support Specialist
13 years 10 months ago #24770 by alzander
Replied by alzander on topic facebook login not working
There's a couple of strange things I'm seeing. First, in Chrome, if I go to:
http://www.xn--ditazubi-1za.de/
I stay on that page.

If I go there in Firefox, I'm redirected to:
www.diätazubi.de/

On that page, in both Chrome and Firefox, when I try to login, Facebook's Javascript API is throwing the following error:
Error: Domain contained invalid characters.
Source File: http://connect.facebook.net/de_DE/all.js
Line: 46
I don't know why, but for some reason, it doesn't like your domain. I see you have a UTF-8 character in there, but that's not terribly uncommon. I don't know if this is a change with Facebook itself, or a bug that's specific to your site. We'll have to investigate that side more, but can you explain why the redirect is happening only in some browsers and what the correct URL that you'll be using is?

Also, do you have different API keys set for both sites? Each API key will only work on one domain. It's possible you're using the wrong API key on the site that isn't working.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24786 by diaetazubi
I change the maindomain on server host and facebook application configuration to diaetazubi.de.
Now it works perfectly on all browsers.
I think it was a problem with the umlaut ä (only german problem) in my domain because xn--ditazubi-1za.de is show in browser diätazubi.de.
But i have no idea why safari works before and the chome and firefox not =(
Thank you for your excellent support.
The topic has been locked.
Support Specialist
13 years 10 months ago #24798 by alzander
Replied by alzander on topic facebook login not working
I'm honestly not sure either. It seems like how the browser is translating the URL automatically that's causing the differences. Facebook, frankly, shouldn't have a problem with umlaut's as UTF-8 characters are common in URLs nowadays. We have many international sites using JFBConnect and haven't heard of this issue before, so either this is a new change, or somehow just affecting specific characters.

Either way, I hope the fix you've implemented with the new domain works for you!

Best of luck,
Alex
The topic has been locked.