I need a comment plugin with moderation function. When I check the documents, I can do this with the fb comment plugin.
I followed the documentation and attached the fb comment plugin created from one of my applications. Code used below
<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/en_US/sdk.js#xfbml=1&version=v2.10&appId=5XXXXXXXXXXXXX4"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
And for comment, I added
<div class="fb-comments" data-href="http://my.domain.com/folder/subfolder/page-1" data-width="100%" data-numposts="5"></div>
The meta tags on the page are as follows
<meta property="fb:app_id" content="5XXXXXXXXXXXXXX4" /> <meta property="og:url" content="http://my.domains.com/folder/subfolder/page-1" /> <meta property="og:title" content="Title" /> <meta property="og:description" content="Description" /> <meta property="og:image" content="http://my.domain.com/folder/abc.jpg" />
My FB application has the my.domain.com domain set , and the site URL is http://my.domain.com
I can see the comment plugin on the page and publish with full access to fb.
But I want a comment moderator in this plugin, I check here https://developers.facebook.com/tools/comments/5XXXXXXXXXXXXXXX4/ for comments to show / moderately, but comments are not shown for this application.
I used the link to the following questions, but no one can solve my problem.
Facebook comment moderation tool
Unable to get Facebook comment moderation to work
plugin moderation tool does not work
Please suggest any solution.
facebook facebook-graph-api facebook-comments
stackMonk
source share