Social Networks

Email Services
To share your page in Social networks, your page must have meta tags for Page title, Url, description and image.
Page Meta Tags
I have mentioned the meta tags of my application page in the following code,
- <meta property="og:title" content=".Net Bug Buster" />
- <meta property="og:description" content=".Net Bug Buster is my personal blog where i can post ASP.Net, C#, Linq, Kentico, Sql Server, MVC and Azure related articles." />
- <meta property="og:url" content="http://dotnetbugbuster.byethost7.com" />
- <meta property="og:image" content=http://lh6.ggpht.com/-adYMuOAYGu0/URlVhxyJk-I/AAAAAAAAE58/CjTB9yVO7Dw/Ghost-who-walks7.png?imgmax=400" />
Every Social network have share link, you just need to pass some parameters like Url and summary, etc.
I have mentioned the code snippet to use Facebook share here,
- <a title="Share on Facebook" href="https://www.facebook.com/sharer.php?u=http://dotnetbugbuster.byethost7.com" onclick="popupwindowAtCenter(this.href,'Share on Facebook',600,600);return false;" >
- <img src="http://stage.nursingcenter.com/app_themes/share_icons/facebook.png" alt="facebook" /></a></td>

To tweet on twitter it requires Url, source and tweet text. Here you just need to remember tweet should not more than 140 characters including text and Url.
Below I have mentioned the code snippet to use twitter sharer:
- <a title="Share on twitter" href="https://twitter.com/intent/tweet?text=.Net%20Bug%20Buster&source= dotnetbugbuster.byethost7.com&url=http://goo.gl/HeCZpI" onclick="popupwindowAtCenter(this.href,'Share on Twitter',600,600);return false;">
- <img src="http://stage.nursingcenter.com/app_themes/share_icons/twitter.png" alt="twitter" /></a>

- <a title="Share on linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=http://dotnetbugbuster.byethost7.com&title=.Net Bug Buster&summary=.Net Bug Buster is my personal blog where i can post ASP.Net, C#, Linq, Kentico, Sql Server, MVC and Azure related articles&source=Nursingcenter" onclick="popupwindowAtCenter(this.href,'Share on Linked In',600,600);return false;">
- <img src="http://stage.nursingcenter.com/app_themes/share_icons/linked-in.png" alt="Linked In" /></a>

Google +
- <a title="Share on Google+" href=https://plus.google.com/share?url=http://dotnetbugbuster.byethost7.com&gpsrc=gplp0&btmpl=popup#identifier" onclick="popupwindowAtCenter(this.href,'Share on Reddit',600,600);return false;">
- <img src="http://stage.nursingcenter.com/app_themes/share_icons/gplus.png" alt="Google +" /></a>








Jyo PardeshiPosted Jun 6, 2018, 7:41 AM
Nice article...Can you please share the code for instagram and Medium? Can you please someone help me out?
Santhakumar MunuswamyPosted Dec 22, 2015, 9:10 AM
Thanks for sharing
Pradeep JulooriPosted Dec 22, 2015, 7:23 AM
Nice...
Humayun Kabir MamunPosted Dec 22, 2015, 2:13 AM
Nice...
Sibeesh VenuPosted Dec 22, 2015, 12:00 AM
Nice Share