[Condenser] Add Share on Reddit Button to Post Page

in utopian-io •  7 years ago 

[Condenser] Add Share on Reddit Button to Post Page


Source


Repository

https://github.com/steemit/condenser

New Features

  • Added Share On Reddit Button To Post

Description

Adding the ability to easily share to different social media websites with a lot of traffic at the click of a button spreads Steem to a wider community. It also helps users on mobile be able to share links to Reddit much quicker. Reddit is currently ranked 3rd in the US and 4th in the Global internet according to Alexa.

Files changes

  • src/app/assets/icons/reddit.svg
  • src/app/components/cards/PostFull.jsx
  • src/app/components/elements/Icon.jsx
  • src/app/locales/en.json

Relevant Code

    redditShare(e) {
        serverApiRecordEvent('RedditShare', this.share_params.link);
        e.preventDefault();
        const s = this.share_params;
        const q =
            'title=' +
            encodeURIComponent(s.title) +
            '&url=' +
            encodeURIComponent(s.url);
        window.open('https://www.reddit.com/submit?' + q, 'Share');
    }

Screenshots

Links

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Great work netuoso, anything that increases exposure for Steemit is a good thing for all of us here.

What’s next in the pipeline?

I hope this is added as well!

Recently I started to manually share my articles on reddit, and this will save me like a minute or 2 per article.

It should be on the live https://steemit.com website already.

Hey @netuoso

Congratulations! Your contribution was Staff Picked to receive a maximal vote for the development category on Utopian for being of significant value to the project and the open source community.

We're already looking forward to your next contribution!

Contributing on Utopian

Learn how to contribute on our website or by watching this tutorial on Youtube.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.gg/h52nFrV

I used raddit for youtube but its not beneficial for me,,

"logo-reddit" as an alt text =)

the title from the SVG is shown instead of the title of the parent link. A PR is open which should fix the alt text.

It doesn't change the fact that it looks funny when you hover over. Thanks for the detailed explaination...
Great job netuoso, bravo! :clap_clap:

Hey @netuoso,did decentmemes security problem solved?

Yeah, decentmemes never had a security issue, it was just taken offline until the SteemConnect/Utopian issue was solved. Everything is safe, just working on a UI redevelopment at the moment. Beta should be ready for use in a couple days.

that's very helpful @netuoso, but for us small fish has not got the ability to go there. but thanks for sharing.

Not sure your comment is relevant to this post. But thanks for sharing.

WARNING - The message you received from @mdhamim4002 is a CONFIRMED SCAM!
DO NOT FOLLOW any instruction and DO NOT CLICK on any link in the comment!

For more information, read this post:
https://steemit.com/steemit/@arcange/phishing-site-reported-steemautobot-dot-ml

If you find my work to protect you and the community valuable, please consider to upvote this warning or to vote for my witness.

Thanks for the contribution. It has been approved.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

I'm so happy about this! I just posted a request for this a couple of weeks ago on a post by @acidyo. So happy now! Thank you.

Si quelqu'un pouvait en faire une version française ce serait top. Merci d'avance :)

Congratulations @netuoso!
Your post was mentioned in the Steemit Hit Parade in the following category:

  • Pending payout - Ranked 10 with $ 360,74
  ·  7 years ago Reveal Comment