Hi all,
Welcome to my blog. Today we discuss one useful and different topic related to share webpage url content in social media using php and javascript.
In blogging, the social media is very important part. That will grow our site rank. Because we share our blog content through social media.
Then our site content reaches many people and they can use and refer our site content easily.
Here I share you one useful tips to share webpage url in top major social media websites by using php with javascript.
Page Content
- PHP
- JavaScript
In here, share the webpage url content in social media like facebook, twitter,google plus, linkedin, pinterest, digg and stumbleupon.
SYNTAX
- GOOGLE PLUS
- STUMBLEUPON
- DIGG
http://www.facebook.com/share.php?u=[URL]&title=[TITLE]
http://twitter.com/home?status=[TITLE]+[URL]
https://plus.google.com/share?url=[URL]
http://pinterest.com/pin/create/button/?url=[EncodedURL]&media=[MEDIA]
http://www.stumbleupon.com/submit?url=[URL]&title=[TITLE]
http://www.linkedin.com/shareArticle?mini=true&url=[URL]&title=[TITLE]
http://www.digg.com/submit?phase=2&url=[URL]&title=[TITLE]
Full Code
Share content URL in social media using PHP
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.