share product image and name on facebook
I am implementing a shopping cart in PHP. How do I share a particular product on facebook, twitter and google+ in PHP. I tried by placing the link <a href="http://www.facebook.com/sharer.php?u=YOUR-PAGE-URL&t=Content-Title-or-SiteName">SHARE THIS</a>. In place of YOUR-PAGE-URL I placed my site URL and to t, I assigned the product name from the database. But on clicking the link it shows the main site content instead of the product name.
How can I share the product?