Using Jquery with facebook JS SDk - Stack Overflow
stackoverflow.com
Ok.. So I was finally able to resolve the issue. You should load the FB Javascript
SDK asynchronously as shown below <div id="fb-root"></div> ...