girl typing on smartphone

How to quickly generate pluginless share links

Sam RuebyWeb Development Leave a Comment

Everyone (especially clients!) want to make it super-easy for people to share a page on their site. In the past I’ve either had to hunt for a plugins that built the URLs for me or go to each social media network and figure out what their recommend method was. All I wanted was an <a> tag I could use for the user to click and that would bring them somewhere where they can share the page.

Here’s what Facebook recommended

To generate this little guy:

Screenshot of generated "Share on Facebook" link

Here’s what it wants you to do:

Crazy Facebook instructions for adding a tiny share link


Really? Slow down my page with another external script file and not even have anchor tag, but instead a div? No thanks.

Look no more!

The site linked above will allow you to quickly generate simple share links you can use without anything extra.