Facebook Share Link

<?php
        $title=urlencode('Title of Your iFrame Tab');
	$url=urlencode('http://www.facebook.com/yourfanpage');
	$summary=urlencode('Custom message that summarizes what your tab is about, or just a simple message to tell people to check out your tab.');
	$image=urlencode('http://www.yourdomain.com/images/share-thumbnail.jpg');
?> 
<a onClick="window.open('http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $title;?>&amp;p[summary]=<?php echo $summary;?>&amp;p[url]=<?php echo $url; ?>&amp;&amp;p[images][0]=<?php echo $image;?>','sharer','toolbar=0,status=0,width=548,height=325');" href="javascript: void(0)">Insert text or an image here.</a>
Help Share this Article