I want to share title , image and description on facebook without javascript just by passing these to share.php of facebook.
I got some code on this site in question Open source alternative to AddThis AddToAny, ShareThis etcfor Social Bookmarking
and I have read the question how to pass custom parameter in facebook sharer link
Now I want to combine both questions. Can I pass Image, title and description simply in the facebook share.php url
like:
<a class="scmFacebook" href='http://www.facebook.com/sharer.php?s=100&p[title]=<?php echo $title;?>&p[summary]=<?php echo $summary;?>&p[url]=<?php echo $url; ?>&&p[images][0]=<?php echo $image;?>'>Facebook</a>
OR
If I am wrong then please show me the right destination.
According to the facebook developers (bug):
Either you use the Share Button – requires Javascript SDK
Or, use the latest Share Dialog – requires just an app id. It has a direct url direction method for invoking the share dialog:
Use meta property to use title description and image and link sharer.php to share