Topic-icon Super disappointed with JFBconnect today

Active Subscriptions:

None
We bought this a few weeks back. It worked when I first set it up. Thought it was the cat's meow. Then we moved site to production server and went all https with php7. Was wondering why we were not getting any social login though site traffic has increased. Well... tested it and none of them worked anymore. Last night I went through the tutorials again. Followed to the letter and today... Even worse. None of our social logins work across the board. Easier for you to go look than for me to explain. www.net4ia.com
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #58165 by bobdon
After blowing out the Facebook app and creating a new one we now have FB login functioning again.
No such luck with G+ and Twitter
The topic has been locked.
Support Specialist
10 years 1 month ago #58172 by alzander
If Facebook works now, it indicates something was wrong with the app settings. It's tough to know what if you simply deleted and replaced, but I'm glad that's working.

As for Google+ and Twitter, nothing changed in JFBConnect obviously. It sounds like things changed on the server. JFBConnect has been tested with PHP7 and definitely works with https, but it sounds like there's some sort of conflict there. There's a few possibilities, but no magic bullets I can provide by only seeing the front-end
* If you have any Joomla firewall/security extensions, please try disabling them (temporarily) to test
* Is your server running behind any kind of proxy? We recently ran into an issue with Twitter where the responses from their API were being incorrectly altered when behind a proxy. We have a fix for this ready for the next release planned.
* Can you double-check your server time. Please make sure it is very accurate. Social authentication relies on accurate timestamps to prevent spoofing of data. If your server timestamp is incorrect, some social networks will deny authentication attempts.
* Go to the Autotune -> Site Check section and make sure the PHP and cURL portions have green checkmarks

I hope that helps get you started, but if not, let us know and we'll help investigate however we can.

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

None
10 years 1 month ago #58192 by bobdon
Thanks Alex I'll take a look at those. I am finding this to be most puzzling as you can imagine. All of these issues started occurring once we went full https on the site. This also resulted in us removing the stumbleupon sharing as they do not nor plan to correct things to work in ah https environment.

I'll try setting up G+ from scratch again and see if somehow I missed something.

On Twitter I get the following message: 0 Bad request token!

Have you seen that before? I am also planning on trying to get LinkedIn working today.
I'll keep you updated as to my success. If you have any ideas would appreciate hearing from you.

Throw me a LinkedIn invite if you have the time.
The topic has been locked.
Support Specialist
10 years 4 weeks ago #58200 by mel
Regarding the Twitter error, 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

Please double check #1 & 2 and go through our Twitter Application Setup guide for Joomla again.

Also, JFBConnect version 7.0.1 will have a fix for Twitter if you're behind a proxy (but unsure as you didn't provide an answer for Alex's above questions). After verifying the above are not the issue, you could try the following workaround in /components/com_jfbconnect/libraries/joomla/http/transport/curl.php . Around line 167, you'll see:
return $this->getResponse($content, $info);
Right *before* that line, add the following lines:
if (false !== stripos($content, "HTTP/1.0 200 Connection established\r\n\r\n")) {
      $content = str_ireplace("HTTP/1.0 200 Connection established\r\n\r\n", '', $content);
}

Let us know what you find out for trying the above suggestions.

-Melissa
The topic has been locked.
Active Subscriptions:

None
10 years 3 weeks ago #58221 by bobdon
Hello:

After a bit of hair pulling and some code tweaks I have gotten it to work. Thanks for all your help. There is one thing you need to do however. The LinkedIn setup is out of date. They have recently changed their website. The Oauth2 codes are no longer entered as you have them described. Plus they have moved the Javascript off to a setting of it's own.
The topic has been locked.
Support Specialist
10 years 3 weeks ago #58252 by mel

After a bit of hair pulling and some code tweaks I have gotten it to work

Are these the above code changes that I mentioned, or was there something else required?

There is one thing you need to do however. The LinkedIn setup is out of date. They have recently changed their website. The Oauth2 codes are no longer entered as you have them described. Plus they have moved the Javascript off to a setting of it's own.

Thanks for letting us know. I will be working on updating documentation this week and already had plans on checking the application setup guides to make sure they are up-to-date.

-Melissa
The topic has been locked.