Topic-icon Problems with JFB Connect / Facebook / JomSocial.

Active Subscriptions:

None
Hello, Team!

I recently got the JFB Connect for Joomla 2.5, Joomla is my version of the 1.7.4.

I'm having the following problems in my JomSocial site:

1. I can not log into my site by JFB Connect.

2. Previously, when I managed to log into my website by Connect JFB, just my profile picture was imported from Facebook, the rest of the profile data was from another site user, as shown in the attached image.
File Attachment:


I configured and performed the basic installation of the tool, as shown in the attached image, but the JFB is still not working.
File Attachment:


Please, I beg you to help solve these issues mentioned.

Thank you!

Best regards,
Paulo Rodrigues
The topic has been locked.
Support Specialist
11 years 5 months ago #28375 by alzander
Paulo,
First off, I'd highly recommend upgrading from Joomla 1.7. That's no longer support by Joomla at all and there are multiple security issues and bugs in that release. I don't think your current issues are related to that version of Joomla, but other issues you run into may be.. as well as the leaving your site more vulnerable than it should be.

As for the problem, can you try disabling any caching you have enabled both in the Global Configuration area of Joomla and the System - Cache pplugin, if enabled. Also, if you have any other optimization plugins, disable those. Looking at your page, I don't see any reason that you can't login. If that doesn't work, can you let us know what User plugins you have enabled? Some 3rd party plugins have prevented logins in the past, so knowing that may help narrow things down.

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

None
Hello, Alex!

Thank you for your quick response and suggestions!

So ... I had already seen most of the chances that you addressed, but I got no result. I disabled all plugins also cache, but the problem still persists.

In advance, I thank you for your great support.
Thank you!

Best regards!
Paulo Rodrigues
The topic has been locked.
Support Specialist
11 years 5 months ago #28377 by alzander
Paulo,
Still not sure what's happening, but it seems to be related to your template or the redirection that you're doing to go to index.php?view=frontpage . If I switch the template over to Beez5, it works. Can you disable that redirection or try to remove some features from your template as something seems to be interfering, but I don't have an idea of what.

Hope that helps get you started,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello, Alex!

Thanks for your great help on the redirect, it was really important because I finally got "Login with Facebook" on my site, but are still experiencing many errors and problems here.

Well .. I solved the problem by removing the previous resizing the JFB connect.

I shifted in the following places:

• Component->JFB->configuration->Login/Logout
• Facebook Login Redirection Setting
• Facebook Login Setting
• Facebook Logout Redirection Setting


1. The following error is occurring on both templates. After logging in via JFB Connect, the site shows the box and user fields to register a new user with the error messages below: (Also see attached image)

“Facebook API Error: Parser error: unexpected 'FROM' at position 8.”

I also checked on other occasions the following error:

“Facebook API Error: An active access token must be used to query information about the current user.”

Could you tell me what are these mistakes?
File Attachment:


2. I would also like to clarify the following questions:

A- Which local admin JFB Connect I need to configure it to display the login box for new users?

(You could send me a picture of admin JFB Connect, signaling site in which I configure interaction JFB Connect with Jomsocial?

B- The admin has JFB Connect translation to Portuguese-Brazil?

Thank you!

Best regards,
Paulo Rodrigues
The topic has been locked.
Support Specialist
11 years 5 months ago #28431 by alzander
Paulo,
I'm not sure where the "FROM: " error is coming from. I'd recommend going to the Profiles area of JFBConnect and setting each of the field mapping settings to "None" for now. Then, try to login again. If the error goes away, then start re-mapping some of the fields and test again. Keep testing until the FROM: error appears again and let us know what field is causing the issue.

The Active Access token could be a problem, but lets get past the other issues first as it may clear itself up if you get those things fixed.

For A- Which local admin JFB Connect I need to configure it to display the login box for new users?
I'm not sure what you mean here. If you're trying to integrate JFBConnect with JomSocial, you may want to read the article below:
www.sourcecoast.com/jfbconnect/docs/thir...ration-for-jomsocial
If that's not what you're looking for, let us know.

We don't have a Portuguese-Brazil translation yet. We use Transifex which lets users contribute language files. The front-end is in progress, but the admin area hasn't been started. Feel free to check out the translation page:
www.transifex.com/projects/p/jfbconnect/language/pt_BR/

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

None
Hello, Alex!

Thanks for your support! =)

With your help we can make JFB Connect work with auto login, but some things still need minor adjustments here:

1. The field "Gender" is not appearing in the list of options "Profiles -> JomSocial <-> Facebook field mapping" in the administrative section of the tool.

»Do you have a suggestion to help us solve this problem?

2. Could you tell me where I can edit the text marked in the image below?
File Attachment:


Thank you!

Best regards,
Paulo Rodrigues
The topic has been locked.
Support Specialist
11 years 4 months ago #28506 by alzander
Paulo,
No problem for the support, that's what we're here for!

For mapping of fields, we currently only show text-type fields that you can map to. The problem is that your select box for gender may have 'boy/girl', 'male/female', etc and may also be in other languages than English. Facebook will only return "Male" and "Female", which means you'd have to have those options. We are looking into a method to allow translating messages into whatever is in a select box, but don't have anything available now. If you want to use Male/Female, we could help you update the JomSocial profile plugin to allow importing into Select fields, but again, the results may not be what you're looking for.

Finally, you can't directly change that text. Facebook wants the same language for all users to see so that it's familiar to them and they know exactly what they are agreeing to. However, in Autotune, under the Authorization Dialog tab, there are settings for Headline, Description and Permission Explanation. You can use those fields to add more text to that popup and describe your app and let users know why you need the permissions from them.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello, Alex!

Yes, I would like help using the field values ​​with gender: Male / Female, please.

In this case, how can I do to resolve this matter pending at the time of the field "Gender" Facebook?

Thank you!

Best regards,
Silva Rocha
The topic has been locked.
Support Specialist
11 years 4 months ago #28581 by alzander
Silva,
If you want to add Select boxes to the available fields you can import into, you'll need to modify the JFBConnect / JomSocial profile plugin. In the /plugins/jfbcprofiles/jomsocial/jomsocial.php file, search for "getProfileFields" around line 500. At the top of that function, you'll see a MySQL query. Update it as follows:
$query = 'SELECT * FROM #__community_fields WHERE type="text" OR type="textarea" OR type="date" OR type="birthdate" OR type="select" ORDER BY ordering';
That will show the select boxes in the Profiles area of JFBConnect. Feel free to test how that goes, but again, that will import the users gender as "Male" or "Female".

I'm not sure what you mean by the last line:

In this case, how can I do to resolve this matter pending at the time of the field "Gender" Facebook?


Hope that helps,
Alex
The topic has been locked.