**Note: ** Remember to URL-Encode the parameters: https://www.urlencoder.org/
- Share Article:
https://www.linkedin.com/shareArticle?mini=true&url=<URL>&title=<TITLE>&source=<SOURCE_URL>&summary=<SUMMARY>
Examples:
- Tweet:
https://twitter.com/intent/tweet?text=<TEXT>&url=<URL>&hashtags=<COMMA_SEPARATED_TAGS_WITHOUT_HASHES>&via=<TWITTER_HANDLE (i.e. @Twitter)>
- Retweet:
https://twitter.com/intent/retweet?tweet_id=<TWEET_ID>
- Like:
https://twitter.com/intent/like?tweet_id=<TWEET_ID>
- Mini-Profile:
https://twitter.com/intent/user?screen_name=<TWITTER_HANDLE (i.e. @Twitter)>
- Follow:
https://twitter.com/intent/follow?screen_name=<TWITTER_HANDLE (i.e. @Twitter)>
Examples:
- Tweet: https://twitter.com/intent/tweet?text=gist%3A%20Sharer%20%28share%29%20URLs%20%28links%29%20with%20HTTP%20GET%20and%20URL%20Query%20String%20Parameters&url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3D%22Sharer%2B%28share%29%2BURLs%2B%28links%29%2Bwith%2BHTTP%2BGET%2Band%2BURL%2BQuery%2BString%2BParameters%22%26btnI&hashtags=Sharer,Share,URLs,Links,HTTP,GET,URL,QueryString,LinkedIn,Twitter,Pinterest,Reddit,Facebook&via=tZilTM
- Retweet: https://twitter.com/intent/retweet?tweet_id=1223674869029789698
- Like: https://twitter.com/intent/like?tweet_id=1223674869029789698
- Mini-Profile: https://twitter.com/intent/user?screen_name=tZilTM
- Follow: https://twitter.com/intent/follow?screen_name=tZilTM
- Create (Save/Pin It):
https://www.pinterest.com/pin/create/button/?url=<URL>&media=<IMAGE_URL>&description=<DESCRIPTION>
- Follow User (Business):
https://pinterest.com/follow/<Username>
- Follow Board (Business):
https://pinterest.com/follow/<Username>/<BoardName>
Examples:
- Create (Save/Pin It): https://www.pinterest.com/pin/create/button/?url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3D%22Sharer%2B%28share%29%2BURLs%2B%28links%29%2Bwith%2BHTTP%2BGET%2Band%2BURL%2BQuery%2BString%2BParameters%22%26btnI&media=https%3A%2F%2Fthejaka.com%2Ffavicon.ico&description=Sharer%20%28share%29%20URLs%20%28links%29%20with%20HTTP%20GET%20and%20URL%20Query%20String%20Parameters
- Follow User (Business): https://pinterest.com/follow/Thejaka
- Follow Board (Business): https://pinterest.com/follow/Thejaka/Thejaka
More info:
- Submit:
http://www.reddit.com/submit?url=<URL>&title=<TITLE>
Examples:
- Share:
https://www.facebook.com/sharer/sharer.php?u=<URL>
Examples:
Note that additional parameters are no longer supported with this method: Details
- https://jonsuh.com/blog/social-share-links/
- https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
My Other Works: https://thejaka.com/ https://gist.github.com/tZilTM
hey, it doesn't work anymore, linkedin doesn't append query parameter anymore but use the canonical url, don't ask me why they did such thing...
Thanks for your gist anyway