Topic-icon Can not use the Facebook button

Active Subscriptions:

None
5 years 9 months ago - 5 years 9 months ago #64321 by b82d626e
I can connect using the linkedin button, but when I click on the FB button, nothing happens. Why could this be?
Last edit: 5 years 9 months ago by b82d626e.
The topic has been locked.
Support Specialist
5 years 9 months ago #64322 by alzander
There's quite a few possible causes of what you mention. However, I can't test because your site seems to be going into a loop when I visit the home page now. The home page redirects to:
/index.php/component/users/?view=login&Itemid=387
And then Chrome shows an error about continuous redirects.

Getting that cleared up could help the problem, but will definitely help us investigate further.

Until then, the best suggestions I can give are:
* Double check that Autotune says everything is setup properly in the Error Check, Site Check and FB App settings
* Set the "Include jQuery / Bootstrap" setting to 'Yes' in JFBConnect
* Change the "Show 'login credentials' in popup" setting to 'No'. This eliminates some conflicts with other extensions that include their own Facebook integration.

I hope that helps, but if you still have issues, let us know when the home page loads and we'll gladly help investigate further.

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

None
5 years 9 months ago #64326 by b82d626e
Thanks for this. Ok, the loop thing, I do not know where to start resolving this, but it sort of works with the jomsocial.

What I am actually trying to do is change from JomSocial to EasySocial. I have readded the Easysocial to the menu it is labelled as "." on the menu, this is where I am having the button do nothing.

Autocheck is fine, & jQuery/Bootstrap are yes, where do I find the Show login as popup?
The topic has been locked.
Active Subscriptions:

None
5 years 9 months ago #64328 by b82d626e
It is not working! As I stated in my previous reply, the buttons on the "home" (JomSocial) page work, but with the buttons on the "." (EasySocial) page, only the LinkedIn button works and not the FB.
The topic has been locked.
Active Subscriptions:

None
5 years 9 months ago #64329 by b82d626e
On looking deeper, I get the following issues:

JQMIGRATE: Migrate is installed, version 1.4.1

*primees:1785 Uncaught ReferenceError: EasySocial is not defined
at primees:1785
(anonymous) @ primees:1785
contentscript.js:54

*jfbconnect.js?v=6:42 Uncaught ReferenceError: FB is not defined
at Object.facebook (jfbconnect.js?v=6:42)
at Object.provider (jfbconnect.js?v=6:33)
at HTMLAnchorElement.onclick (primees:583)
facebook @ jfbconnect.js?v=6:42
provider @ jfbconnect.js?v=6:33
onclick @ primees:583

WHAT DO I NEED TO DO TO CORRECT THIS? AS THE BUTTONS CLICK EVENT WORKS WHEN JFBC IS NOT ENABLED - this is obviously not what I want.
The topic has been locked.
Support Specialist
5 years 9 months ago #64336 by alzander
Your site is loading for me now, which is definitely an improvement. On the JomSocial page when I try to login, I do get the Facebook popup to login, but I get the following error message:

We could not log you in: You can't log in to this app or website because you do not meet the requirements for country, age or other criteria.

It seems like it works though, which is good.

On the EasySocial page, there are the Javascript errors you mention. It looks like you have some sort of optimization extension that's trying to shove all the Javascript to the bottom of the page. That's causing issues because some code expects and needs that Javascript at the top. I can't be sure this is the cause, but I'd highly recommend disabling any optimization stuff you have enabled. One other error I see is:

primees:3855 GET https://YOURSITE/plugins/system/toomanyfiles/js/jquery-1.12.4.min.js

I don't know what toomanyfiles is, but it seems to be broken and, if that's what's optimizing your Javascript, it's probably causing more issues than just that error above.

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

None
5 years 9 months ago #64339 by b82d626e
Absolute star you are matey. All working, thanks a lot!
The topic has been locked.
Support Specialist
5 years 9 months ago #64341 by alzander
Awesome! I'm glad to hear we could help. If you run into anything else or need further assistance, just let us know.

Finally, if you haven't already, please consider leaving a rating or review on the Joomla Extension Directory for JFBConnect. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/extensi...-display/jfbconnect/

Thanks,
Alex
The topic has been locked.