February 21, 2014 - JFBConnect v6.0 Released! Go to The blog announcement | The full changelog | The JLinked Migration guide

Community Builder Facebook field mapping how to add more?

Community Builder Facebook field mapping how to add more?

how to add more fields FROM CB.
i can see only 8 fields from CB even if i have more as AGE. i'd like to import bithdays from facebook...

evil
useravatar
Offline
120 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

Currently, we only allow importing into text and textfield fields in CB.  The request for importing into date fields has been made a few times, and it's high in our priority list for the 3.1 release. 

Other fields such as select boxes, radio buttons, etc are much harder to import into as what can be imported from Facebook rarely aligns with the data in a user's FB profile.

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

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

Re: Community Builder Facebook field mapping how to add more?

oh i see current/smile
well thanks for the explanation. i was going mad :-)
anyway "gender" and "age" are important field for the newsletter marketing

evil
useravatar
Offline
120 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

How do you have Age setup?  Do you have a select box with like <18, 18-26, 27-36, etc?  I don't recall off-hand, but does CB have a special 'age' field?  If so, I'd think we could come up with a way to work with that specific field.

We'd love to let users import into more fields as it's a semi-common request, but just haven't figured out a great way.  For very specialized fields though, we can code something up.

Thanks!

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

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

Re: Community Builder Facebook field mapping how to add more?

this problem belongs only to CB? does the import work with jomsocial?
unluckly CB does not have a default gender field. For the gender I set a drop down field with 2 values.

Regarding the age field in CB is a special field and it's a date field. You select your birthday and the component calculates current age.

How does FB exports his notext-fields? You could use same standard as FB and write a little guideline about how to setup fields in cb correctly to import the value.

evil
useravatar
Offline
120 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

JomSocial is setup the same way (only import into text type fields).  The same issues present themselves regardless of community software used.  For example, your drop down for Gender is Male / Female (let's say). Someone else could have "Man / Woman" or even "Man / Woman / Child".  Facebook would return "male / female", which the upper vs lower case could cause problems.  We could try to give some complex way to 'normalize' the information from Facebook to make it line up with your options... but then, Facebook is also multi-lingual, so then you have to take into account "senior / seniorita", etc.  Can get confusing.

The Age field sounds like something doable because a date is a date is a date.  We may have to alter what FB sends us to conform to CB (or JS's) notation, but shouldn't be tough.  It's on our to-do list.

Hope this helps clarify a bit about the problems.  We've gone over the options a lot, but with JFBConnect becoming more stable and more robust, it might be time to try to tackle the next tier of profile importing issues.

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

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

Re: Community Builder Facebook field mapping how to add more?

well let's start from the age, it's more easy :-)

evil
useravatar
Offline
120 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

alzander wrote:

Currently, we only allow importing into text and textfield fields in CB.  The request for importing into date fields has been made a few times, and it's high in our priority list for the 3.1 release. 

Other fields such as select boxes, radio buttons, etc are much harder to import into as what can be imported from Facebook rarely aligns with the data in a user's FB profile.

Alex, I also think it is important to import some other popular field.For integrate with CB, maybe we could set some rules for integrating, such as map gender with radio botton with only 2 choices in CB and the first choice is male, second one is female. Then I think it could be easily integrate from FB.
Hope the new mapping choice could be included in the future update=]

fb_634042543
Anson
useravatar
Offline
77 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

We have big changes for the overall profile mapping scheduled for 3.1.  Many more fields to import from Facebook and other nifty things on the Joomla side.  We're still working it out, and focused on getting the 3.0.2 bug-fix release out right now.

We'll definitely do what we can to get better mapping options into 3.1 and future releases after that.  Thanks for your input!

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

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

Re: Community Builder Facebook field mapping how to add more?

Hi,
Newbie here:)

I've been reading through the board postings and am having a similar issue.  Some of the basic fields, such as zipcode (cb) / zip (fb) don't exist on the facebook dropdown list.  I desperately need to include this field.  It seems to be a rather standard text transfer and there is no option for it in the drop-down selection...Is there any way to include it?  Same with "phone." 

Also, CB offers "location" as a field and FB offers "Basic Info - Current Location" but on their actual site, as a member, they collect more fields, such as those listed on CB.  Why is there only one option through this mapping tab for location, city, state, zipcode, country, address, zip:  "Basic Info - Current Location"? 

Thanks!
Beth

Beth
useravatar
Offline
9 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

Beth,
In the most recent v3.1, we add a bunch of new fields and refined what we're able to import. Unfortunately, not every field that you see in a user's Facebook profile is able to be imported. Facebook does some shorthand on its site so that a user can enter a zip code, and it will look up the user's location from that. However, all it will let us/JFBConnect import is that location that it determines.

You can see a full listing of the fields we can import from the link below. If you search for "location", you'll see that what it returns is:

A JSON object containing name and id

Regardless of what a JSON object is, the important part is that it only returns the users location in a city, state format and Facebook's internal ID for that location (which doesn't have much value).
http://developers.facebook.com/docs/reference/api/user/

Sorry for the inconvenience, and if there's a way we can improve this, or if you know of a site that's doing things differently, let us know. There are tools out there to look up zip codes based on a city/state location. That's about the best option I can suggest for you to get the user's zip code.

For your information, long ago in the 2.x series of JFBConnect we actually could get the zip code, but Facebook changed that functionality back in July.

Hope this helps, and if there's anything we can do, let us know.

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

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

Re: Community Builder Facebook field mapping how to add more?

Hi Alzander!

Thanks for helping me on my other post earlier this evening...and now I find you've been able to support me here too!

On this point:

alzander wrote:

Facebook does some shorthand on its site so that a user can enter a zip code, and it will look up the user's location from that. However, all it will let us/JFBConnect import is that location that it determines.

City/state of a user would be sufficient for my current needs... 
Do you know what the variables are within the FB coding that equate to location?  If its comma separated,  maybe there is a way I can separate it post-mapping without too much hassle...
or
If I require zip and/or city, state on the Community Builder registration end, would it also still be required for Facebook registrants?  Not that I want to give them another box to fill in, but if I can ensure their ability to participate in some of the mapping items I'll be utilizing on the site, it will be worth it.  Users being able to represent where they are from is a big part of the concept/psych-build of the site.

Thanks for the link to the JSON list too! 
Beth

Beth
useravatar
Offline
9 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

No problem about helping you, it's what we do. Thank you for subscribing!

The Current Location field, return a value like "Albany, New York". I'm pretty sure I can give you a few lines of code that would be able to add City and State as separate fields to import from Facebook, if you'd like that (not guaranteeing it'd be that easy, but I think so). The alternative is to do what you say and parse out the value after you get the whole thing.. but that gets uglier because then you also have to hard-code the fields it goes into.

Requiring the zip for CB, right now, would actually cause some problems. CB is a little annoying in that if we (JFBConnect) create a user and try to save it with a blank value that's marked as required, CB will not save that user. Therefore, if you mark zip as required, but don't import anything into it, the CB user won't be created at all (no profile, not activated, very annoying). We're working on the 3.2 release now, and one of the goals (though still under investigation) is to have an option to add any required fields from CB, that aren't being imported into automatically, to the Registration page of JFBConnect. You'd have to use the Full Joomla User option, and we're still ironing out some details, but are optimistic this will be in the 3.2 release.

Hope this helps, but if you have any other questions, suggestions, or issues, definitely let us know!

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

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

Re: Community Builder Facebook field mapping how to add more?

Hi Alzander,

If its not too much trouble, I'd like to take you up on your offer of code to separate city and state.  I've had to put an extra call to action throughout my site, encouraging folks to go into their profile and input their state and zip to make sure they appear on the user representative map I've input.  It's an extra step for them and I'd prefer it to be instantaneous, if can be.

I understand what you're saying about making the zipcode a required field and that will make it so new facebook registrants aren't saved and, as you know, this isn't an option;)

Thanks,
Beth

Beth
useravatar
Offline
9 Posts
Active Subscriptions:

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

Re: Community Builder Facebook field mapping how to add more?

Beth,
I'm looking into this. I'm hoping to be able to get you a solution this weekend that will split the fields out.

Thanks for your patience,
Alex

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

alzander
Alex
useravatar
Offline
17898 Posts
Support Specialist
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

Earn 20% Through Referrals

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 More About Our Affiliate Program