× Joomla Facebook Connect support forum

Topic-icon Not Getting Profile Data from Facebook

Active Subscriptions:

None
14 years 9 months ago #12437 by dtoler1951
I tried different combinations but when I try to Login with Facebook which causes me to register to site, I get the following results:
-The User is being added to CB but not confirmed or approved ( I designated both as no.)
-Only the email id and user name fields are mapped from facebook. But I was required to designate these when I registered.
-The Facebook avatar is being shown and I’m getting a message that I’m connected to Facebook.
-I’m getting an email message saying that I can log onto the site even though I specified “no email”.
-I’m being asked for a user name, while I specified Email login.

Options:
Community Builder 1.4
Genera tab: :Login field type: email
Registration tab:
Require Admin Approval: No
Require Email Confirm: No
Show login on registration page : No

JFBConnect – Overview
Green checks for all required extensions status
Green check for Content Plugin and Community Builder status

Configuration User tab
User Creation - Full Joomla User
Automaticaoly Link Facebook user by Email – Yes
Email field on registration: Show
Skip Joomla User activation: No

Configuration Login/Logout Tab
Enable new user redirection: Yes
Auto Login Facebook user: Yes

Permissions tab
Require Email Permission: No
Require Status Update Perminission: Yes
Require Profile Data Permisssion: No

www.stratton-legacy.com
The topic has been locked.
Support Specialist
14 years 9 months ago #12440 by alzander
For CB integration, you'll need to make sure that either:
1) In the Profiles configuration are, any CB fields marked as required have a mapping setup from Facebook.
2) In the Profiles configuration area, you have the "Show non-mapped required fields" option enabled
3) You have no fields in CB marked as required.

Basically, if there are any fields in CB that are marked as required, those fields must be filled out (either by importing that data from Facebook, getting it from the user, or not having any required fields to begin with). CB simply won't let JFBConnect save a user's profile if required fields are missing, which can then cause a lot of the problems you mention.

If that's all setup properly and you're still having issues, just let us know, and we'll see what more we can do.

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

None
14 years 9 months ago #12450 by dtoler1951
Thanks for the quick response.

Only the First and Last Name fields are marked as required in CB, and both are being mapped from Facebook. But I still have the "Show non-mapped fields" option set.

It still not mapping those fields from Facebook and I am getting the message, "Your Facebook is connected".
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12489 by dtoler1951
I have tried changing Joomla, CB and JFConnect options, but still cannot pull the fields from Facebook with just the First and Last name listed as required in CB.
The topic has been locked.
Support Specialist
14 years 9 months ago #12569 by alzander
Sorry for the delayed response in getting back to you.

I just tried to register on the site, and am seeing what you mention. Specifically, it looks like the user's CB profile isn't being created. I say this because if I go to "index.php?option=com_comprofiler", I get the following messages:

This user has not yet confirmed his email address and account!
This user has not yet been approved by a moderator!

This usually occurs when JFBConnect is unable to save the user properly to CB, so the only information that CB can see is what's stored in Joomla - the username and email address.

I'm not sure why it's unable to get the first and last name, which are basic fields from Facebook that don't require any additional permissions. If it's possible, can you upgrade the account I just created (sourcecoast) to a super admin so we can look at your configuration. If not, we understand. The things we'll be looking at are that the user and authentication plugins are properly enabled, that the field mappings for the first/last name are correct in the Profiles tab, and a few other general configuration settings with Joomla and JFBConnect.

Thanks, and we'll get you sorted out,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12575 by dtoler1951
I have upgraded the SourceCoast user to a Super Admin. Thanks.
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12708 by dtoler1951
I checked and verified that all teh authenication plugin's were enabled. I also reloaded CB which caused one of the id's to be confirmed. Otherwise, results are still the same. Any ideas?
The topic has been locked.
Support Specialist
14 years 9 months ago #12736 by alzander
Howdy!
Very sorry for the delay in getting back to this post. We just got in and were able to debug the site and found a few things. First, we implemented some new code in our registration process which we'll be adding to the upcoming 4.0 release to fix a few issues. Initially, that didn't fix the problem.. but on further investigation, we noticed that the Community Builder JFBConnect Profile Integration Plugin was marked as "Registered". We changed this to be public, as is necessary.

With that change, we tested again, and the user and information was imported properly. Not sure if the code change was required, but regardless, it will be in our upcoming release, so good to know it will work with the next release as well.

Please test and let us know how it goes. Again, sorry for the delay, but hopefully, it will be smooth sailing from here.

Thanks,
Alex
The topic has been locked.