Hello,

I am trying to utilize facebook comment plugin:

Cek this website that I created:

http://julmarice.com/ this site consist of many articles. I wonder why after I add the fb comment plugin which is good for different articles it shows the same comments?

I would like for different article should shows different comments. Any idea how to?

home.blade.php

 <div id="fb-root"></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/id_ID/sdk.js#xfbml=1&version=v2.10";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

index_v2.blade.php

  @extends('home')

  ...

  <div class="fb-comments" data-href="{{ $data->title }}" data-numposts="1" data-width="400"></div>

I wonder why the comment does not generate a new comment after distinguishing the title?

The URL does not change, and I'm pretty sure that the Facebook comments plugin associates those comments to a URL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.