views:

342

answers:

1

Hi, i'm using some of facebook widgets. I have "Fan Box" and "Share". They work just fine. I'm trying to use the Comment Box and the problem is it does not show up at all on my site.

http://www.facebook.com/facebook-widgets/

This is the facebook page with the widgets. "Website or Business" column widgets work fine when i use them. "Developers" column widgets don't work at all. I have a developer account all setup. This is the widget code.

FB.init("e83799c22a5c43da5142a958595dc531");

Does anyone know if i'm missing something.

A: 

this is not the widget code. all what you paste is a just FB JS library initialization.

look here and here to get how to embed comments box into your site.

zerkms
actually i pasted the full script but i guess it did not come out. Anyway I did follow these instructions before. I have the entire script but the box never comes up.
Fabian Glace
edit your post and show what actually have you tried. all the code we can see now is just a FB JS initialization which do nothing itself.
zerkms
I'm simple using this.<script src="http://static.ak.connect.facebook.com/connect.php/en_US" type="text/javascript"></script> <script type="text/javascript">FB.init("e83799c22a5c43da5142a958595dc531");</script> <fb:comments xid="reviews"> </fb:comments>
Fabian Glace
put this at question. did you get any javascript errors?
zerkms
no errors. nothing gets rendered. i have two other widgets that's working fine, fan box and share button. these were done by a wizard on the site. but the developer code seems to be the problem. i've seen the code on other websites and its similar so i'm not sure what's going on with this.
Fabian Glace
you wont believe this. i check back with the facebook developer page and the code generation has been changed by facebook, it's now.<div id="fb-root"></div><script>window.fbAsyncInit = function() { FB.init({ appId: "104738239557479", xfbml: true });};(function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e);}());</script><fb:comments></fb:comments>
Fabian Glace
so it works now thanks
Fabian Glace