Topic-icon Demo site

Active Subscriptions:

None
11 years 2 months ago #31640 by merc
Demo site was created by merc
Hi

On the demo site demo.sourcecoast.com/ when i try and login with my facebook account it says logging in then comes back with error: "Please enter your name"

See screentshot


Any idea what the problem is?

Thanks
The topic has been locked.
Support Specialist
11 years 2 months ago #31643 by alzander
Replied by alzander on topic Demo site
I'm honestly not sure. That's not an error we've ever had reported to us on a live site or on our demo site.

Looking into the message, that appears when Joomla is trying to save a new user but now 'name' field is present. That should be fetched by JFBConnect automatically from Facebook and should definitely be populated when we try to save the user. We've had numerous test users created on the demo site today, so I don't think it's a systematic problem.

Can you try registering again and see if you still have the problem? If you do, can you let me know (publicly or by Private Message) the full name of your user on Facebook? All I can think is that there is some character in the name which is causing the user to not be created. We handle UTF-8 strings just fine, so not sure what that would be, but it's my only guess.

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

None
11 years 2 months ago #31686 by merc
Replied by merc on topic Demo site
The facebook account is a business acccount. Could this be why?
The topic has been locked.
Support Specialist
11 years 2 months ago #31690 by alzander
Replied by alzander on topic Demo site
I'm not sure what you mean by a business account. Do you mean that you are logged in as a Facebook Page, and not as a personal account? If so, that could definitely be the problem. You can only authenticate with a personal account as a business account doesn't necessarily have an email address, 'name', or other information that's required. That's a Facebook restriction, and not a JFBConnect one though. If you're trying to login while logged in as a Facebook Page, the authentication popup should show an error instead of letting you try to log in.

Let me know if that's what you're trying, what you're seeing (what does the authentication popup look like), and any other information you may have and we can gladly look into it more.

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

None
11 years 2 months ago #31691 by merc
Replied by merc on topic Demo site
When i click 'login with facebook' a popup box appears. I click allow and then this appears



It then takes me to the page in my first post saying please enter your name.

No obvious errors.

I guess it must be because its not a personal account
The topic has been locked.
Support Specialist
11 years 2 months ago #31697 by alzander
Replied by alzander on topic Demo site
Merc,
How are you logged into Facebook.com at that point? Are you logged in directly as a user, or did you 'switch' to a Facebook Page profile?

Can you try logging out of Facebook.com and then clicking the Login with Facebook button. Can you authenticate and login properly then?

Keep us posted. This is something we've not seen before and can't recreate from some testing. Hopefully, with the information above, we can narrow things down.

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

None
11 years 2 months ago #31708 by merc
Replied by merc on topic Demo site
Ok im logged out of facebook. All cookies cleared.

Here are the 3 steps as to what happens for me

1) I click the 'Login with facebook' button on this page demo.sourcecoast.com/
A pop box appears to enter my facebook email and pass:



2) I enter the correct facebook details (email and pw) click login and the box disappears and message comes up "You are now being logged in using your facebook credentials"



3) Then the page in my first post above appears to say "Please enter your name".

I am sure youre right and it must be something to do with it being a business facebook account rather than personal
The topic has been locked.
Support Specialist
11 years 2 months ago #31719 by alzander
Replied by alzander on topic Demo site
What is a "Business Facebook Account"? I've never heard of one of those. Facebook just has "personal" user accounts and Facebook "Pages", so maybe I'm just confused with the terminology.

Either way, what I'd recommend now is to:
* Login to Facebook.com
* Click the * in the top right and then go to "Account Settings"
* In the left-hand side, click "Apps".
* Find "JFBConnect Demo" and click the 'x' to the right.

That will delete the app from your profile. When you next try to login to the Demo site, you should see a permissions popup box. Please take an image of that popup permissions box. Of course, try to accept the permissions and see if that fixes your issue, though obviously that shouldn't be necessary.

Please let me know how that goes,
Alex
The topic has been locked.
Support Specialist
11 years 2 months ago #31720 by alzander
Replied by alzander on topic Demo site
Ahh.. just did some searching and found:
www.facebook.com/help/131976240210052

My guess is that a business account account can't log into websites. They are listed as "Don't have a personal profile tied to them" and a Personal account is specifically listed as "Can connect with other people, join groups or play social games"

So, I think thats the answer to the question, but feel free to test with the above suggestions. It may be possible for us to make changes to JFBConnect to allow business profiles to login, but without a name, possibly an email address, or other information, it would be very limited as to what we could do to create the Joomla account.

Hope that helps,
Alex
The topic has been locked.