How to solve Facebook FB.loader problem

I have a problem with the FB button share, where I have this code

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

The error message with internet explorer is:

FB.loader is null or not an object.
FB.Share                                               line:15
Code:0                                                 Char:1

or in firebug console:

FB.Loader is undefined
        FB.Share()FB.Share (line 15)
        [Break on this error] FB.Loader.onScriptLoaded(["FB.Share","FB.SharePro"]);



On looking the code, there is a FB.Loader is missing. You have to add another script to load "FB.Loader" function.

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

4 responses
thanks for the FB.Loader fix, seemed to be hitting a lot of people
Thanks for the fix - I was getting the same problem.
Thanks for the help. quick and easy fix.
This still wont work for me :( Anyone having any detailed instructions? Just cant get the proper fb share button with the count on my posterous blog!