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>








