FB.loader problem due to Facebook share button

Posted by saurabh On January - 17 - 2010
   Share ('DiggThis’) Delicious  delicious      Google BuzzGoogle Buzz      SocialTwist Tell-a-Friend     
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

I installed Facebook Share button on my blog running on wordpress. The code worked fine in Firefox and Chrome browser but it generated the following error in Internet Explorer:

‘FB.loader is null or not an object.’

The error is generated because FB.loader has not been loaded, while it is called-in by another subsequent function.

Solution

      • Search for the following code

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

  • Add the following just before the previous code

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Loader" type="text/javascript"></script>

  • The final code should look like the following:

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Loader" type="text/javascript"></script>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)
134 views ;  TAGS: , , ,
blog comments powered by Disqus

The real happiness of life is in doing ‘karma. — Rig Veda