Giter Club home page Giter Club logo

social-share-urls's Introduction

Social Share URLs

This is intended to help you share your content on all the popular social networks.

Supported Social Networks

URL Arguments

Argument Description Used By
{url} The url you want to share (encoded) All
{img} The image/thumbnail to use when sharing Most
{title} The page title of the url you want to share Most
{desc} A longer description of the content you are sharing Most
{app_id} The App ID Facebook
{redirect_url} The url a sharer will be redirected to after a successful share Facebook
{via} optional Twitter username of content author (don't include "@") Twitter
{hashtags} optional Hashtags appended onto the tweet (comma separated. don't include "#") Twitter
{provider} Company who is sharing the url Delicious
{is_video} If the content is a video or not Pinterest

Facebook

Facebook has two methods of sharing. The "Sharer" link is simple but the preferred Facebook way is using the Share Dialog. This method does require an app id but offers more flexibility.

Sharer:

http://www.facebook.com/sharer.php?u={url}

Share Dialog:

https://www.facebook.com/dialog/share?app_id={app_id}&display=page&href={url}&redirect_uri={redirect_url}

Twitter

https://twitter.com/share?url={url}&text={title}&via={via}&hashtags={hashtags}

Google+

https://plus.google.com/share?url={url}

Pinterest

https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title}

Linked In

http://www.linkedin.com/shareArticle?url={url}&title={title}

Buffer

http://bufferapp.com/add?text={title}&url={url}

Digg

http://digg.com/submit?url={url}&title={title}

Tumblr

http://www.tumblr.com/share/link?url={url}&name={title}&description={desc}

Reddit

http://reddit.com/submit?url={url}&title={title}

StumbleUpon

http://www.stumbleupon.com/submit?url={url}&title={title}

Delicious

https://delicious.com/save?v=5&provider={provider}&noui&jump=close&url={url}&title={title}

social-share-urls's People

Contributors

bradvin avatar fleeting avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.