Topic-icon Since upgrade from j2.5 to j3.4 facebook connect not working

Active Subscriptions:

None
Hello,

I'm running JFBConnect Version: 6.4.1 on Joomla 3.4.3 with Facebook. before upgrading to Joomla 3.4.3 everything was all right with j2.4.

Right now, when I click on Facebook button it open a tiny windows that close itself almost immediately and nothing happen, the user isn't logged in or registered...

When I run the JFBConnect Remote Error Checker I get this message : Checks performed on: www.mysite.com/
Error: Uh oh! We could not fetch page due to an unknown error.

But Google+ and Windows live are working perfectly, this is only with Facebook.

Configuration Check : No issues found!

All recommendations are set to Recommendations

Maybe the problem come from API V2.0 i have some alert about updating Login Review in my developper center

Thank you for your help

Erik
The topic has been locked.
Support Specialist
I'm not sure why our Autotune automated tool can't fetch your page, but it's not just us. I just tried with all of the below tools and they all return an error. It seems like there's something either blocking automated requests or something really wrong with your server configuration:
httpstatus.io/
tools.seobook.com/server-header-checker/
www.internetmarketingninjas.com/header-checker/
www.webconfs.com/http-header-check.php
urivalet.com/

As for the Facebook login issue, can you try enabling the "Include jQuery / Bootstrap" setting in JFBConnect? I think that will fix your issue since the Bootstrap Javascript library isn't being included on your site.

Let us know how that goes,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,

Thank you for your answser,

I've been running some checks and discover that only url with SSL (https) cannot be fetched, maybe this is because I proxy my server with Cloudflare ? I can't figure it out...

I have enabled "Include jQuery / Bootstrap" but the issue remain, the tiny window open and close itself in 2 secondes, then nothing change.

Any idea ?

Best regards,

Erik
The topic has been locked.
Support Specialist
Erik,
Looking at your page, I can't understand what's going wrong. In the Javascript console, the Facebook Javascript library is throwing the following error, which is preventing authentication:

sdk.js:95 Uncaught TypeError: Cannot read property 'toString' of null

Can you set the "Enable Debug Mode" in JFBConnect to 'Yes'. That will load a special version of the Facebook Javascript library that may help us diagnose where the conflict is better.

If that doesn't help, the next steps would be to Private Message us super admin credentials for your site so we can narrow down the conflict further.

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

None
Hello Alex,

Ok debug mode is now enabled for JFBConnect.

Thank you for your great help

Erik
The topic has been locked.
Support Specialist
Thanks for doing that. There's 2 more things to check/ask before I ask for super admin credentials now:
1) When you move to Joomla 3.x, did you change your Facebook Application ID and Secret key? You shouldn't have, but if you did, it could explain some of the issues I'm seeing.
2) Can you disable the Cloudflare Javascript / Rocketscript stuff? It looks like it may be trying to overly optimize some stuff which may also be part of the problem. Leave it disabled, even if it doesn't fix the issue, so that we can narrow one more thing down. We should be able to get everything working with optimization eventually, but first we need to find the problem.

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

None
well done Alex,

Disabling Rocker Loader in Cloudflare did the trick ! Now it works :)

Just one more thing, Error Checker still send back the same message : Error: Uh oh! We could not fetch page due to an unknown error

Any idea ?

Thank you

Erik
The topic has been locked.
Support Specialist
Erik,
Glad to hear you got the authentication stuff working. Not sure why RocketScript is causing the problem. That may be something to report to Cloudflare if you need that functionality for your site. From my experience (we use Cloudflare on this site), RocketScript was too finicky to trust in production by causing random problems like this.

Just one more thing, Error Checker still send back the same message : Error: Uh oh! We could not fetch page due to an unknown error

I'm not sure on this one. Something on your server is denying requests from our tool and the others listed above. I don't have any clarity as to why it's being rejected, though it does look like it's only over SSL/https. You may need to look through your Apache logs or contact your hosting company to see if they can narrow down the possible cause. Sorry I don't have a magic bullet here.

As always, if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.