Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB slows down pageload drastically

guneyozsan Feb 03, 2012 @ 08:39PM EST
The page loading freezes while waiting for I searched the net and it is a widespread problem because of Facebook servers. Ocasionally it is around 6 seconds and it can go uptop 20 seconds! There is a solution with JQuery for downloading the Facebook script after the page is loaded:

Using this...

$(document).ready(function() {
$.getScript("", function() {
alert("Script loaded and executed.");

...instead of this...

<script src="" type="text/javascript"></script>

...solves the problem.


The problem is I'm using addthis to call facebook like button. And I don't know if it is possible and how to implement this solution to AddThis code. My AddThis code has something like this:

<a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:href=""></a>

Thank you.
Paul Feb 06, 2012 @ 02:31PM EST AddThis Happiness Specialist
Unfortunately I don't know of a workaround for that, but I'll let our developers know to see if there's a way we can get it to load faster or use a workaround for loading Facebook.
Up 0
Down rated

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found