Since I struggled to get a working php facebook like script ( as all the shared scripts are only the script and not the sdk that u need to complete the script which makes it apsolutely useless) I searched for a javascript and found this 1 and it works I'm just searching for a mobile compliant fb like script but to no avail... I'm on mobile so can't put it in script tags so I'm just pasting it sorry,,,,
<script type="text/javascript">
function fbs_click()
{u=location.href;t=document.title;window.open(
'http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeU RIComponent(t),'sharer',
'toolbar=0,status=0,width=626,height=436');return false;}</script>
<a href="javascript:void(0);" onclick="return fbs_click()">
<img alt="facebook share" src="
http://lh5.ggpht.com/_iEnxos6ddpE/Tb6BUD0OGfI/AAAAAAAACaQ/0pd1LCCkPDs/SukaFB.gif"/></a>
You may use ur own facebook image so just replace the SukaFB url with ur own image...
<script type="text/javascript">
function fbs_click()
{u=location.href;t=document.title;window.open(
'http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeU RIComponent(t),'sharer',
'toolbar=0,status=0,width=626,height=436');return false;}</script>
<a href="javascript:void(0);" onclick="return fbs_click()">
<img alt="facebook share" src="
http://lh5.ggpht.com/_iEnxos6ddpE/Tb6BUD0OGfI/AAAAAAAACaQ/0pd1LCCkPDs/SukaFB.gif"/></a>
You may use ur own facebook image so just replace the SukaFB url with ur own image...
Comment