Topic-icon Twitter Signing on is not working?

Active Subscriptions:

None
8 years 6 months ago #55095 by joomFBjz
Hi,

Just installed the JFBConnect on to ahmadi.community website and configured the Twitter App but the signing on is returning error:

Bad Token

the same consumer keys etc work fine with other components like EasyBlog?

Best regards,
The topic has been locked.
Support Specialist
8 years 6 months ago #55104 by mel
The 3 most common causes of that issue are:
1) Your Twitter Application wasn't set up properly
2) You didn't copy the API Key and Secret properly to JFBConnect
3) Your server time is incorrect

I'd suggest double checking #1 & 2 and going through the Twitter Application Setup guide for Joomla again.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 6 months ago #55116 by joomFBjz
Hi,

It was probably one the above 2.

Apparently, the authentication was successful and the callback page of my site displayed message "to activate the registration by following the link in the email" but when I checked the email there was no such email yet. I then loaded the site home page but there was error message displayed only on to the computer the login attempt was made:

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 ') AND `type`='profiles'' at line 1 SQL=SELECT * FROM `xxls_social_default_avatars` WHERE `uid` IN (1,4,) AND `type`='profiles'


I then logged in to the Joomla back end and found that an account was created by JFBConnet with:

name = Not_Registered
username = Not_Registered
email = This email address is being protected from spambots. You need JavaScript enabled to view it.


Whereas, I have different name and email address in the Twitter account?

BTW, the site is running EasySocial & PayPlan as well. Both the JFBConnect & PayPlan are set to use EasySocial Registration.

Regards,
Imran
The topic has been locked.
Support Specialist
8 years 6 months ago #55149 by alzander
It sounds like some extension (either EasySocial or PayPlans, likely) is preventing the full registration process from completing. I've never seen a user created with This email address is being protected from spambots. You need JavaScript enabled to view it. and JFBConnect wouldn't create a user (even in an error case).

Can you try disabling PayPlans, temporarily, to see if that fixes the registration process. I believe you can disabling it by unpublishing the PayPlans plugins, which should be a pretty simple/quick test.

Beyond that, what registration process are you going through with JFBConnect:
* Do you have Automatic Registration Enabled?
* Do you have the Registration Component setting as "EasySocial"?
Those answers will help us narrow things down as well.

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

None
8 years 6 months ago - 8 years 6 months ago #55151 by joomFBjz
Hi,

Probably, PayPlan, was the cause. I recently fresh installed it without any settings it should not have interfered with the existing website settings. But anyway I disabled it completely and now the Twitter & Facebook sign in worked fine.

But the 'Windows Live' social sign in, after successfully going through to the App authentication process returns to my site with the following message:

Warning


We were unable to retrieve your WindowsLive account information. Please try again.

Beyond that, what registration process are you going through with JFBConnect:
* Do you have Automatic Registration Enabled?
* Do you have the Registration Component setting as "EasySocial"?
Those answers will help us narrow things down as well.


Answers:

* Automatic Registration Disabled
* Registration Component setting is "EasySocial"

The WindowsLive sign in problem appears a different one?

Best regards,
Last edit: 8 years 6 months ago by joomFBjz.
The topic has been locked.
Support Specialist
8 years 6 months ago #55156 by alzander
For WindowsLive, please try the following:
1) Set the "Disable SSL Verification" option in JFBConnect to 'Yes' and test again.
2) If that doesn't work, please set the "Enable Debug Mode" option to 'Yes' and see if an error message is generated when you try to authenticate.

If 1) works, it means the root certificates to validate *other* website's SSL certificates are out of date. You'd need to contact your hosting provider to update the certificates so that your site can validate the windowslive's servers and communications.

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

None
8 years 6 months ago #55211 by joomFBjz
Hello,

Yes, the no. (1) option worked.

Thanks for your help.

Best regards,
The topic has been locked.
Support Specialist
8 years 6 months ago #55214 by mel
Great, glad your issues got resolved. Let us know if you need any further help.

-Melissa
The topic has been locked.