Facebook Share button, or commonly known as sharer.php is the easiest way to share link on Facebook. It is easy to use. You don't need an App ID, and you don't need to include any Facebook dependencies.
Simply :
http://www.facebook.com/sharer.php?u=http://yoursite.com&t=Here's my customized title
I could dynamically generate customized og tag, but due to Facebook caching mechanism there's almost no point of doing that.
Customize :
http://www.facebook.com/sharer.php?s=100
&p[url]=http://yoursite.com
&p[images][0]=http://yoursite.com/assets/vote.png
&p[title]=My customized title
&p[summary]=My customized summary
open-graph-protocol-examples:
https://github.com/niallkennedy/open-graph-protocol-examples
Simply :
http://www.facebook.com/sharer.php?u=http://yoursite.com&t=Here's my customized title
I could dynamically generate customized og tag, but due to Facebook caching mechanism there's almost no point of doing that.
Customize :
http://www.facebook.com/sharer.php?s=100
&p[url]=http://yoursite.com
&p[images][0]=http://yoursite.com/assets/vote.png
&p[title]=My customized title
&p[summary]=My customized summary
open-graph-protocol-examples:
https://github.com/niallkennedy/open-graph-protocol-examples
Debugger:
Debug your url and check everything fine .
No comments:
Post a Comment