muralibobby2015 17 Posting Pro

hello..

i am using facebook sharer for share products which is in my website into facebook. i tried all the ways to do this..but i don't know where is the problem.

when i am clicking the facebook icon in mysite then it redirecting to facebook and not displaying product name, product image, description of product. it cames untitled document. here is the code i was used.

<head>
<meta name="title" content="<?=$fetpro['productname'];?>" />
<meta name="description" content="Join this bloc to help me get a deal at BBuys" />
<meta name="medium" content="medium_type" />
<link rel="image_src" href="http://www.mysite.com/admin/product_images/<?=$fetpro['product_image']?>" />
</head>
<body>
<a href="http://www.facebook.com/sharer.php?u=http://www.mysite.com/details.php?pro_id=<?php echo $fetpro['auto_id'];?>&t=<?php echo $fetpro['productname'];?>&Width=626 &Height=436 &Toolbar=0 &Status=0"><img src="images/facebook.jpg" /></a></body>

plz help me where is the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.