Multiple facebook comment boxes on a single page?

前端 未结 3 815
别跟我提以往
别跟我提以往 2020-12-30 14:19

I have three products listed on a single page and I\'m looking to add a small comment box to the side of each of the products, kind of like : https://www.facebook.com/SanukF

相关标签:
3条回答
  • 2020-12-30 14:38

    It still working with below code.

    <fb:comments reverse="false" publish_feed="false" showform="true" 
        simple="false" migrated="1" canpost="true" url='[Your URL]' 
        width="580px" numposts="10" xid="[Unique ID]">
    </fb:comments>
    
    0 讨论(0)
  • 2020-12-30 14:44

    I have resolved multiple comments boxes issues for one page for my site. This is what worked for me:

    When generating your FB code, you have to enter the "URL to comment on". For the first box, just enter the url. For second box I added mysite.com/#comments2. For third box I added mysite.com/#comments3. Etc, Etc. This should give you a separate comment box per URL. Hope this helps.

    0 讨论(0)
  • 2020-12-30 14:59

    The comments plugin doesn't have a xid paramter that I can see at: https://developers.facebook.com/docs/reference/plugins/comments

    You need to specify a unique URL for each of the comment boxes

    0 讨论(0)
提交回复
热议问题