Topic-icon JFBC - FB login dont work and no google login button shows

Active Subscriptions:

None
Hi Support
1.After activating JFBC in jomsocial, I try to login via a facebook account.

a popup window shows saying either to login and the fb account will be linked to the account OR a register field shows at the bottom...

when entering login name and password and pressing "login" a message shows at the top saying "invalid password"

(If I disable the JFBC login in jomsocial), and use the inbuilt facebook login, it works just fine...



2. No google login shows at all

Please advise how to solve this...
The topic has been locked.
Support Specialist
For Google login, please check:
* You are running JFBConnect v5.1 or greater. The last run of Autotune I see from your account is still running JFBConnect v5.0.0. That's from August though, so I can't be sure.
* You have set a Google Application and Secret key in JFBConnect
That should be all that's required for the button to show. There can be other problems that may cause issues when actually logging in with Google, but the button should show just by entering your keys in the Google configuration area.

a popup window shows saying either to login and the fb account will be linked to the account OR a register field shows at the bottom...

I'm not sure what popup you're talking about. JFBConnect does not use a popup to register the user. The only popups you could/should be seeing are:
* The SCLogin modal popup view, if enabled. This will have standard Joomla username/password fields as well as the social login buttons for any networks you've configured.
* The Facebook login popup. This is from Facebook and asks for your Facebook email address and password.

If you're seeing a popup asking to register or create an account, that sounds like the one from JomSocial. In the JomSocial -> Facebook Connect configuration area, please make sure you enabled the JFBC integration setting and removed the App ID/Secret keys from their fields. That will ensure that no Facebook functionality from JomSocial is in use.

If that's not the issue, please help me figure out why I can't access your site (as noted in my other post) and I'll gladly test to see what's happening.

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

None
12 years 4 months ago #40937 by bison
Hi Alex
I ran autotune today, so I dont know where you get the dat from...

JFBC says version 5.2.2 in the bottom of the interface...

About site access, It could be our country blocker in admin tools....
what country are you in, I`ll check and will unblock

Sorry about that...

regards
Bison
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago #40938 by bison
Hi Alex

How can our users change from "normal" login to fb login...???
After removing the the App ID/Secret keys in jomsocial, as you said, the field requiered for changing from "normal" login to fb login is gone in the users "user details"

When trying to login via fb, I just get a blank popup

I have put in the google plus app id and the button now shows. Havent checked the functionality yet
NB. I dont get email advisement, when you have replied in the forum ?? - do I have to enable this somewhere ?

Please advise
regards
Bison
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago - 12 years 4 months ago #40939 by bison
When a user allready has enabled their jomsocial login with facebook, and the JFBC login is activated,

Then when the user tries to login with JFBC, a message says that the useremail is allready used ??? - and ask for a new registration....

Thats not good - we have 8000+ users....

regards
bison
Last edit: 12 years 4 months ago by bison.
The topic has been locked.
Support Specialist
Sorry about the Autotune confusion. I was looking in the wrong place.

For the country blocker, I'm in the US. Facebook has servers all over though, so you'll need to make sure that their requests are getting through. If they can't see your site, they may not let your content be shared.

With JFBConnect, you can import any existing Facebook connections made in JomSocial. To do so:
* Back up your database, just in case
* Ensure the Social Profiles - JomSocial plugin is enabled
* Go to the JFBConnect -> Usermap area
* Click the "Import Connections" button.
The FB connections from JomSocial should be imported.

When trying to login via fb, I just get a blank popup

I'd have to see this happen to understand what the issue may be. Once the site is unblocked, we'll gladly test the FB registration and let you know what we find.

Finally, you should be getting an email notification whenever you post if you've checked the "Subscribe" button at the bottom. If not, let me know.

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

None
12 years 4 months ago #40944 by bison
blocking has been disabled - could you have a try !

best regards
Steen
The topic has been locked.
Support Specialist
The Facebook Login button on that page is not from JFBConnect. That's JomSocial's login button. Looking at the HTML on your JomSocial landing page, the code looks like:
<script src="http://connect.facebook.net/da_DK/all.js" type="text/javascript"></script><script type="text/javascript">
function jomFbButtonInit(){
	FB.init({
		appId: '263584743658089',
		status: true,
		cookie: true,
		oauth: true,
		xfbml: true
		});
	}

	 FB.Event.subscribe('auth.login', function(response) {
          //window.location.reload();
        });

	/*
	FB.Event.subscribe('auth.logout', function(response) {
	  window.location.reload();
	});
	*/
if( typeof window.FB != 'undefined' ) {
	jomFbButtonInit();
} else {
	window.fbAsyncInit = jomFbButtonInit;
}
</script>
<fb:login-button  onlogin="joms.connect.update();" scope="offline_access,email,user_status,status_update,read_stream,publish_stream,user_birthday,user_about_me,user_website,user_education_history">Log ind med Facebook</fb:login-button>
That code is from JomSocial.. though it seems like it may have been updated with some extra 'scope' parameters. My guess is that you've created a template override for the JomSocial home page and did not incorporate all the changes from their latest file.

Alternatively, there's a bug or caching issue on your site that's not updating the code on that page. If you've removed the FB App Id from JomSocial's area, there's no reason it should be including it in the code above, which it is.. so you'll need to narrow down what's going wrong there.

I hope that helps, but if not, let us know.

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

None
12 years 4 months ago #40960 by bison
Hi Alex

Yes its jomsocial....I could not have the fb login not working, for all the users, not knowing when the issue could be debugged and solved, so I disabled the JFBC login and went back to jomsocial...

You wrote this:
With JFBConnect, you can import any existing Facebook connections made in JomSocial. To do so:
* Back up your database, just in case
* Ensure the Social Profiles - JomSocial plugin is enabled
* Go to the JFBConnect -> Usermap area
* Click the "Import Connections" button.
The FB connections from JomSocial should be imported.

I think you should add this to the jomsocial integration doc, as I did not know about this.

BUT when I try to click on "usermap"

I get this:
Error 1064:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''%google' at line 3 SQL=SELECT COUNT(*) count FROM `ay9zm_jfbconnect_user_map` um WHERE um.provider LIKE '%google

Please advise, and let me know if you want login to the backend...just tell me where to send it..

Best regards
Bison
The topic has been locked.
Support Specialist
Thanks for the tip on the update connections documentation. We'll add it to the JomSocial documentation area soon.

For the error you're seeing, that's a SQL mistake in our latest release. You can fix it by reading the thread below:
www.sourcecoast.com/forums/jfbconnect/jf...ectview=userm#p40954

I hope that helps explain and get you going. Should you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.