Take the tour ×  I'm trying to implement an XFBML comment box on
a page. It works in Firefox and Chrome, but only sporadically in
Internet Explorer 8.  I get an 'FB is undefined' error when the
page hits the FB.XFBML.parse('fb-stuff');. Do I need to check if
the Facebook Connect script has finished loading before I try to
parse the XFBML?  <script type="text/javascript">
window.fbAsyncInit = function() {             appId  :
'117378991625799',             status : false, // check login
status             cookie : false, // enable cookies to allow
the server to access the session             xfbml  : true  //
parse XFBML     (function() {         var e =
document.createElement('script');         e.async = true;
share|improve this question add comment  1 Answer  up vote 1
down vote accepted  You shouldn't need to call fb.xfbml.parse
yourself, since you're already instructing facebook init to do
that for you in the fbAsyncInit. It's useful mainly in
situations when you add new facebook elements to the page a