Add social plugins quickly to your website

Add social plugins quickly to your website

While developing customer facing UIs/Websites, We can come accross with a requirement wherein we need to give privilege to customers to share our pages/ their orders/ their bookings to social media sites(like Facebook, Twitter, Google+).

This can be done very quickly as these platforms provide different open sources/libraries to accomplish this.

A very simplest way is to give links/urls to customers on website itself and with one click, they can share this information.Below is simplest code that can be added to any HTML page.

Code:

Preview:

Social Buttons

Note: You need to use your own CSS/Icons/Fonts to display icons.

There is a very helpful tool that generates urls for each and every platform specific to your website and information. You can use this tool here

Hope this helps!

Lakshay Katney Avatar

Lakshay Katney

Saleforce developer by profession but I like to work with various technologies.I blog about Force.com, Hybrid Apps, PhoneGap, AngularJS, BackboneJS, JavaScript in general. I am Angular & NodeJS fan.

Read More
Share this page
Top 15 Posts

    100%