Search code examples
facebookfacebook-fbmlfacebook-page

how to use facebook comments plugin into facebook page


We have a Face book page.We add a custom FBML tab.Now we want to add Comment Face book plugin.I tried to add an script what i got from Face book Social Plug in.The code is

<div id="fb-root"></div><script 
<src="http://connect.facebook.net/en_US/all.js#appId=178089302222317&amp;amp;xfbml=1"></script><fb:comments numposts="10" width="425" 
publish_feed="true"></fb:comments>

After that i put this script to custom FBML page but its not reflecting any thing please suggest to solve this issue.

Thanks in advance.


Solution

  • <fb:comments xid="some_unique_id_doesnt_matter_what" canpost="true" candelete="false" publish_feed="true" numposts="10" returnurl="http://facebook.com/YOURPAGE">
    
    <fb:title>Headline</fb:title>
    </fb:comments>
    

    this is what you are looking for.. your code doesnt work in FBML, yours is XFBML

    <fb:title>
    

    is optional