GRS
GRS

Reputation: 3084

Facebook Comments Don't Show in Comment Moderation Tool (but show on the actual page)

It seems like no comments after 26th of October appear in my Comment Moderation tool. Comments, however, appear on the page.

On the webpage, I can see comments after that (some of which are spam which I need to moderate).

I have the following code on page:

<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 = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.10&appId=xxxxx';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="xxxxx.com" data-numposts="7" data-order-by="reverse_time"></div>

Both the fb:admins and fb:app_id properties are set and show up in Open Graph Debugger (I actually removed the fb:admins property since the admins are set in the moderation tool)

Upvotes: 12

Views: 1190

Answers (1)

Fran6
Fran6

Reputation: 61

I solved the problem when I realized the og:url and data-href, which were automatically generated, did not match the current URL.

  • Current URL was www.demo.com/es/page
  • og:url and data-href were www.demo.com/page

Facebook developer tool only gives a subtle notice about mismatch (Redirect Path) with og:url(og:url Meta Tag) and the current url (Input URL).

Upvotes: 1

Related Questions