× Joomla Facebook Connect support forum

Topic-icon Need help

Active Subscriptions:

None
15 years 9 months ago #4669 by fb_721883146
Need help was created by fb_721883146
Hi there i'm having a few problems :rolleyes:
Hi i have followed the configuration guide the best i can, I'll try to explain the steps i took to install it and what the problems are.
1. installed and enabled the component, modules and the plugin for the 3.0 version. The admin overview page says every thing is installed correctly.
2. Disabled: System - Jomsocial Facebook Connect
3. Set facebook connect to NO in the jomsocial login module
4.Removed the API key information from the jomsocial configuration srction.
5. Set set a few module positions within my site.
Ok all the modules seme to work correctly, although i haven't tried them fully yet.

Problems...
1.when i click the Login Using Facebook on the JFBConnect longin module it brings up the first dialogue box ok (where i enter my facebook email name and password). But when i click the login button the box disappears and the page stays the same. Then when i click on the Login Using Facebook again it logs me straight into my site with no other dialogue boxes popping up. (Should'nt it show up the facebook permission box befor i log in?).

2.when my site brings over my avatar into the jomsocial login module it is very blurred. i want to keep on using the jomsocial login module due to it have a lot of useful links on it after a user logs in.

3.I manage to associate my site admin account with my girlfriends facebook account by accident :=D Do you have plans to stop a super admin linking there account to a facebook account. ?????( jomsocial do not allow this)??????. Also how do i associate and de associate accounts with facebook. Because when i messed up i had to revert back to the jomsocial system facebook login, where they had a button at the bottom of the edit details page in the users profile section.

4. When i try to log out using the log out button on the jomsocial module it comes up at the top saying: Automatically logging you in with your Facebook credentials and when i try to log out using the other jomsocial logout button at the top right it gives me this error: Fatal error: Uncaught OAuthInvalidRequestException: (#506) Duplicate status message thrown in /home/wingchu3/public_html/administrator/components/com_jfbconnect/assets/facebook-api/facebook.php on line 530.


Hope we can sort through these problems because i want to keep on using this component, i like the way it interacts with facebook :=D :=D :=D :=D :=D
My site address is Ip Man Wing Chun
Many Thanks Neil
The topic has been locked.
Support Specialist
15 years 9 months ago #4673 by alzander
Replied by alzander on topic Need help
Alright, I'll answer what I can.. if I leave something out, just let me know :)
The FB login box will ask for your credentials if you're not already logged into Facebook. If you are logged in and click the blue button, it will pop-up immediately and then go away (may not even see it). IF it's the very first time you've tried to log in, it will ask for your permissions. If you've already granted them, you won't get the permission dialog box.

Now, why it's not logging you in and redirecting you, that's a problem. I just tried logging into your page, and on the redirect from Facebook, I'm getting the following Javascript error:
Error: document.getElementById("jfb_nav_menu_wrapper") is null
Source File: www.wingchun-kungfu.co.uk/index.php
Line: 127
Do you know what may be causing this? The Facebook login process is very Javascript dependent, and errors can prevent the proper 'flow'. I think if you can get that worked out, the login stuff should go smoothly.

The blurry avatar is a bug in our code. We'll be releasing an updated version of JFBConnect this weekend (the stable version) which will import a more crisp avatar into JomSocial. Sorry about that.

We don't have a method to prevent associations with admin accounts. However, in the Login Module, there is a 'Allow Reconnections' parameter. You can turn this off to prevent an account that is already linked to be linked to a new account. To 'unlink' an account manually, in the JFBConnect Admin area, click the "User Map" and you can delete the row which maps the Facebook user to the Joomla user. We have a task to investigate better methods of this, but it won't be out until after 3.0 stable. Same with preventing administrator linking.

I'm not sure what logout button your talking about specifically because you say the JomSocial module both times. However, the reason you're being logged back in is because you likely have the "Automatically Login Facebook Users" setting as "yes". When you use the JomSocial logout button, you're logging out of Joomla and not Facebook. On the next page load, JFBConnect 'sees' your FB user and tries to log them back in. In short, if you're not using the JFBConnect Login Module, set the "Automatically Login Facebook Users" to 'No'. We have a note about this problem in the next version to warn admins about the possibility of never being able to log out. I'm not sure where the OAuth error is coming from. Feel free to report it again if you continue to see it after the above.

Whew. Hope that helps, and let us know if you have more questions. We'll get you going!
The topic has been locked.
Active Subscriptions:

None
15 years 9 months ago #4704 by fb_721883146
Replied by fb_721883146 on topic Need help
Hi there, can i import my existing facebook users into the user map? Also when i login to my site should i see a pop up box like the one in your demo site? I've attached an example. Thanks love the work you've done so far:-)
Thanks neil
The topic has been locked.
Support Specialist
15 years 9 months ago #4710 by alzander
Replied by alzander on topic Need help

Hi there, can i import my existing facebook users into the user map?

Yes and no. With 3.0 stable (out tomorrow, yay!) there will be a new configuration setting "Automatically Link Facebook Users by Email:". If enabled, if a user logs in through Facebook Connect and their FB email is already in your Joomla site, it will automatically 'connect' the FB user to their existing Joomla account. This is great if you have a lot of existing users and should work if they've already already mapped their account using JomSocial or Community Builder. However, if they have different email addresses, it will not map them.

For the 3.1 release we will be implementing a system to allow importing existing FB/Joomla mappings from Community Builder and JomSocial.

Also when i login to my site should i see a pop up box like the one in your demo site?

I don't see an attachment, so I'm not exactly sure what's going on. Is the login box showing up full-screen? If so, what browser are you using? We've seen this in a few cases. It should be in a pop-up, but for some reason, that's not always the case.

Thanks!
The topic has been locked.