Share on Facebook with Description
|
Recently one of my collegue was struglling with sharing information on Facebook using Sharer.php, earlier it was a good and easiest way to share or post on Facebook progrmatically. It used to take 2 arguments u & t: http://www.facebook.com/sharer.php?u=http://yahoo.com&t=description_here The u argument is the url that you are sharing. Now if this is used it post, page title as description which is not desirable in most of cases. I googled as well checked Open Graph meta tag (https://developers.facebook.com/docs/opengraph/), which same I also reviewed an article by Petisia showing same using meta tags but we need a separate PHP code file in this. Finally after bit of study I was able to come up with an option which allow to post URL, description, image etc. to wall using single share file link: http://www.facebook.com/sharer.php?s=100&p[title]=YOUR TITLE HERE;p[url]=YOUR URL HERE&p[images][0]=IMAGE PATH HERE&p[summary]=YOUR DESCRIPTION HERE”> Above link will allow you to post a link with details on Facebook to this blog post |






awesome post! Keep up the excellent work!