Share button on facebook with meta-tags

0

I want to set parameters to share with the facebook button and its documentation does not work for me, I've tried many codes and nothing works for me, I only get an image that I did not establish and I do not know what else to do, here's my code

<html>
<head>
  <title>PRUEBA TITULO</title>
    <!-- You can use Open Graph tags to customize link previews.
    Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
  <meta property="og:url"           content="http://www.manuelcaldas.com/muestras.php" />
  <meta property="og:type"          content="website" />
  <meta property="og:title"         content="Your Website Title" />
  <meta property="og:description"   content="Your description" />
   <meta property="og:image"         content="http://www.manuelcaldas.com/imagenes/PV213_medium.png" />

</head>
<body>

  <!-- Load Facebook SDK for JavaScript -->
  <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_US/sdk.js#xfbml=1&version=v3.0";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));</script>

  <!-- Your share button code -->
  <div class="fb-share-button" 
    data-href="http://www.manuelcaldas.com/muestras.php" 
    data-layout="button_count">
  </div>

</body>
</html>

I wanted to see if I came out in the description that "Your Description" and I get something else

    
asked by Juanse Portillo 10.08.2018 в 18:09
source

1 answer

0

Can you place that code on your production website to debug it? You currently have another code that is invalid.

Use link to extract the Open Graph information again, it is a robot that does not do it in "real time".

Greetings

    
answered by 10.08.2018 в 18:36