Topic-icon Unlink not working and performance issue

Active Subscriptions:

None
1 year 10 months ago #68075 by ianris1
JFBconnect 9.0.197
Joomla 3.10.10

I have just purchase JFBConnect and the add ons for Microsoft and Amazon.

I have managed to configure and get working logins using: Amazon, MS, Google, Facebook, LInked and Twitter

I have 2 issues:

1) The Unlink feature from the LInked Accounts page doesn;t work for any of the social networks.
They all return a blank white page with the error message "Invalid token"

2) I have worked very, very hard to optimise the speed of my site and I noticed that the facebook plugin causes 
two javascript files with a .sdk extension ( total almost 90KB) to be loaded on every page of my site.
Is there a way to only load the facebook .sdk files on the pages that need them (login/out and register etc)

 
The topic has been locked.
Active Subscriptions:

None
1 year 10 months ago #68082 by romagromov
Hmm...
I was going to buy this extension.
But what you write is a serious problem.
But what is even worse is the fact that your message has not replied for a week. This should not be the case for paid products.
The topic has been locked.
Active Subscriptions:

None
1 year 10 months ago #68083 by ianris1
I belive that they would normally respond much quicker - but it seems there  are delays right now as explained in this post:
www.sourcecoast.com/forums/jfbconnect-9-...3981-delayed-support

I have only been using the product for a short time - but it seems well designed and is basically working.

I have been able to block the unwanted javascript load using plugins for that purpose - though it would be nice to have a fix.
The following user(s) said Thank You: romagromov
The topic has been locked.
Support Specialist
1 year 10 months ago #68087 by alzander
I do apologize for the delay. Our child is very sick and I'm currently at the hospital responding to this. All should be well with time, but we appreciate your patience.

As to your points above:
1) We haven't heard of an issue with the Unlink Accounts page but will see if we can recreate. The message "Invalid Token" comes from Joomla as a security measure when submitting a form. A 'token' is assigned to the current user viewing a page and then that same token must be submitted with the form and be correct for that user or else you get that message.
If you're seeing it, it indicates there's some sort of issue with that token. Can you try (temporarily, to test), disabling any caching on your site (in Joomla Global Configuration or any extra extensions you may have for caching) as well as the System - Cache plugin, if enabled. Sometimes, those caching extensions will cache an old token and therefore cause the invalid token issue.

If that doesn't fix the issue, let us know and we can dig in deeper.

2) At 90kB, it's not 'large' in the scheme of things, and it's also set to be cached by the browser. And, since it's from Facebook, that script can be cached by *any* site the user visits. So, if the user goes to blahblah.com which has the Facebook Javascript file loaded and then visits your site, that file will already be cached and shouldn't show any speed hit. If you use tools to check speed, they always test from a completely uncached starting point.. which is good to test from, but usually not realistic (and the worst case) from a user standpoint.

With that said, the Facebook Javascript is something we're investigating how to better optimize the loading of. It's required on the page for authentication, like buttons, comments and multiple other features within JFBConnect. However, there are some ways that we are looking into to not include it on specific pages or only when specific features that need it are included.

I hope that helps explain things a bit more, but please let us know about the token issue or any other questions you may have.

Thanks,
Alex
The following user(s) said Thank You: romagromov
The topic has been locked.