Share webpage url content in Social media using php and Javascript

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

  1. FACEBOOK

  2. http://www.facebook.com/share.php?u=[URL]&title=[TITLE]




  3. TWITTER




  4. http://twitter.com/home?status=[TITLE]+[URL]

  5. GOOGLE PLUS
  6. https://plus.google.com/share?url=[URL]



  7. PINTEREST
  8. http://pinterest.com/pin/create/button/?url=[EncodedURL]&media=[MEDIA]



  9. STUMBLEUPON
  10. http://www.stumbleupon.com/submit?url=[URL]&title=[TITLE]

  11. LINKEDIN
  12. http://www.linkedin.com/shareArticle?mini=true&url=[URL]&title=[TITLE]



  13. DIGG
  14. http://www.digg.com/submit?phase=2&url=[URL]&title=[TITLE]

    Full Code

    Share content URL in social media using PHP
    
    
    
    

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *