title: Add specific image and title to Facebook sharing link
body: <p>In my shopping site project, I am trying to share the current link (which is product details page) on Facebook using the following url which is working fine:</p>
  
  <pre><code>&lt;?php
      $shareUrl = urlencode($product_url);
  ?&gt;
  &lt;a class="share-button-link" href="&lt;?php echo "https://www.facebook.com/sharer/sharer.php?u=" .$shareUrl; ?&gt;"&gt;
     Facebook
  &lt;/a&gt;
  </code></pre>
  
  <p>The above one is working fine but the title and image of the current sharing link on FB is coming different. I mean the image is present on the current url but I want to show some other image.</p>
  
  <p>Now, the current url has many images and I think, Facebook is selecting a random image from the collection of images and title is based on something else (<em>not sure</em>).</p>
  
  <p>My question is: <strong>How to add a specific image and title to the sharing link?</strong></p>
  
  <p>I tried this <a href="https://stackoverflow.com/a/19388031/1577396">link</a> but doesn't work for me.</p>
  
  <pre><code>&lt;?php 
      $product_url=$ _product-&gt;getProductUrl(); 
      $shareUrl = urlencode("http://www.example.com/product-a");     
      $shareTitle = urlencode($_product-&gt;getName()); 
      $shareImage = urlencode("http://i.imgur.com/59oQPGZ.jpg"); 
  ?&gt; 
  &lt;a class="share-button-link" href="https://www.facebook.com/sharer.php?s=100&amp;amp;p[title]=&lt;?php echo $shareTitle; ?&gt;&amp;amp;p[url]=&lt;?php echo $shareUrl; ?&gt;&amp;amp;p[summary]=nothing+but+you&amp;amp;p[image]=&lt;?php echo $shareImage; ?&gt;"&gt;
      Facebook
  &lt;/a&gt;
  </code></pre>
  
  <p>I can't use <a href="https://stackoverflow.com/a/7623986/1577396">this</a>:</p>
  
  <pre><code>&lt;meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/&gt;
  &lt;meta property="og:image:secure_url" content="https://secure.example.com/ogp.jpg" /&gt;
  </code></pre>
  
  <p>Because the images will change for every product page. (I need change the image dynamically, which is not possible in this case)</p>