Share a link on Facebook


There are so many third party API and tools to share a link on Facebook. But these API used lots of JavaScript, iframe and efforts.  In this post I will show you to share a link on Facebook without third party API and JavaScript and iframes with a simple way.

Following url is used to share a link on Facebook. You just need to change the link to share ( u parameter value ).

https://www.facebook.com/sharer/sharer.php?u=http://www.tricksofit.com/

You can add it as a link on your website like as below:

<a href="https://www.facebook.com/sharer/sharer.php?u=http://www.tricksofit.com/">Share on Facebook</a>

Here is a live example for share a link on Facebook.

Click to Share on Facebook

This is a simple way to share a link on Facebook. I hope this will help you.