简体   繁体   中英

How to remove date/time stamp from Facebook comments plugin?

at the bottom of this page ( https://go.microgreensfarmer.com/video1 ) you will see I added the Facebook comments plugin. Well I would love to get rid of the date/time that is listed along with each comment. Is this possible?

Here is the Javascript SDK I have in the body:

<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId            : 'your-app-id',
      autoLogAppEvents : true,
      xfbml            : true,
      version          : 'v2.9'
    });
    FB.AppEvents.logPageView();
  };

  (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";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>

And here is the HTML I have on the page:

<div class="fb-comments" data-href="http://microgreensfarmer.com" data-width="100%" data-numposts="5" order_by="reverse_time"></div>


Any way to edit these so date/time is not displayed alongside comment?

Thanks SOOOO much for your help!

Unfortunately for you, this is not possible using Facebook's comments plugin. This is probably because Facebook wants to show its own identity. For full details of the plugin and the options you have, you can take a look here (If you haven't already) https://developers.facebook.com/docs/plugins/comments

Sorry!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM