× Joomla Facebook Connect support forum

Topic-icon FB button timeout and field-mapping issues

Active Subscriptions:

None
14 years 7 months ago #14941 by joeadl
Hi,
I ran into a few issues and I wanted to see if there was a solution.

1. FB image doesnt appear immediately - when the JFBC button is installed, it usually takes a few seconds before it loads (only the text shows up) and it is confusing to users. Is there any way to locally store or cache the button so that this does not happen?

2. Is there a way to show log in progress - when a user submits their FB login, there is usually a few second delay while the information processes and the user is logged in and redirected - but there is no way for a user to know that their login has taken effect, so they often try again, click away, or become frustrated. Is there a way to make a pop-up or a loading timer to appear to indicate that their login is in progress?

3. FB fields are always imported as text, is there any way to make them conform to input box types? - When info is ingested from FB to JomSocial it is always imported as text, and because of this there is no way to map it to another input type:
e.g. A- the Birthday field should correspond to the JomSocial birthday dropdown, but instead can only come in as text - so you have to choose one or the other.
e.g. B- the Website field imported from FB usually contains multiple values (tab separated) and so it is not possible to map them to anything other than a "text area" rather than either the "url" input type or just a "text box".

This is an issue because if you want to invoke specific input fields to display the web addresses, or allow them in search, there is no way to do it - it's a "text area" or nothing.

Thanks!

p.s.
Good talk at JoomlaDay NYC
The topic has been locked.
Support Specialist
14 years 7 months ago #14945 by alzander
Joe,
1) The image is loaded from Facebook's own Javascript library. That library isn't loaded until your page fully loads. So, if you can increase the load time of your page (reduce Javascript, images, etc), that may help. However, if you want to use a local image, you easily can. Check out the 2nd and 3rd question in the article below on how to do it:
www.sourcecoast.com/jfbconnect/docs/common-support-questions
If you need help doing that in the JFBCLogin module, I can help let you know where to make those changes.

2) There really isn't. The login is handled by Facebook through some Javascript calls. It shouldn't be excessive, and we've taken pains to decrease that time however we can. You may want to try disabling avatar and field importing, for now, to see if that improves things. Alternatively, you may want to look into your server's overall speed, as that could be part of the problem.

I've added a case to our tracker to investigate if it is possible to intercept and put some indicator in there, but not sure how easy/possible that will be or when it would be done.

3) We don't have a way to conform the input, because Facebook only accepts text fields. For some fields, like you mention (birthday, website), it's probably possible to format things and allow importing into url or date fields. For other fields (interests, lets say), it could be literally anything, so it'd be impossible to create some code to properly import it into some custom dropdowns (or whatever) you have.

We'll have to look into it more on how to make those specific fields a little easier to import.. but we always have to make sure it's easily done and doesn't cause other problems.

Finally, very glad to hear you liked my talk at NYC! I'm terrible at putting names with faces.. did we chat there? I hope we did, and apologies for not knowing. We met a ton of great people there!

On a separate topic, I sent you an email about a week ago regarding an early test release of our LinkedIn extension, which you mentioned interest in in our pre-sales area. If you're interested, please send me an email at This email address is being protected from spambots. You need JavaScript enabled to view it..

If you need anything else, just let us know!
Alex
The topic has been locked.