News for hackers. Stuff that matters.
Re:Ask HN: Do people still use the social media buttons on y... by Avalaxy on Tuesday March 28, 2017 @01:33PM (#13978676)
I'd like to have them, but I don't want to load any external scripts on my site (for speed purposes mostly). Is it possible to make your own share button and share something on the various social media networks with just an URL, or a POST request?
Re:Ask HN: Do people still use the social media buttons on y... by niftich on Tuesday March 28, 2017 @03:52PM (#13980051)
Last year, a project that does this was featured as a 'Show HN': Sharingbuttons.io [1]

[1] https://news.ycombinator.com/item?id=12209595

Re:Ask HN: Do people still use the social media buttons on y... by Avalaxy on Wednesday March 29, 2017 @08:17AM (#13985282)
That makes things really easy. I especially like that they use SVG instead of images. Saves yet another request :)
Re:Ask HN: Do people still use the social media buttons on y... by timdavila on Tuesday March 28, 2017 @03:47PM (#13980015)
This is the way I prefer to do it as well.

Here's a pretty good guide to the URLs and parameters for the common ones:

https://jonsuh.com/blog/social-share-links/

Re:Ask HN: Do people still use the social media buttons on y... by Avalaxy on Wednesday March 29, 2017 @07:58AM (#13985200)
This is cool. Great explanation, thanks.
Re:Ask HN: Do people still use the social media buttons on y... by mattbgates on Tuesday March 28, 2017 @08:56AM (#13976136)
I always put them on any project I do in which I want people to share the page. I have always had success and the buttons serve as a reminder for people to take action. They are less likely to just share the URL than if they see buttons there to help them.

This website has got a bad reputation, but I've rarely had any issues with them. I think any issues I have had were easily handled with some CSS or some htaccess URL blocking.

Nonetheless, I still use it on all my websites. Simply copy the code into the pages you want or the footer if you are using a platform like WordPress, and the code takes care of the rest.

http://sharebutton.net/

FYI: I am in no way associated with the owner of that website.. I just think whoever created it did a great job at making social sharing easy... and no plugin required!

Re:Ask HN: Do people still use the social media buttons on y... by tmaly on Tuesday March 28, 2017 @11:33AM (#13977455)
yeah they load up my Google Analytics stats with referral spam all the time.
Re:Ask HN: Do people still use the social media buttons on y... by wirddin on Thursday March 30, 2017 @07:00AM (#13994356)
On Desktop, I guess users click on it because there's no other native way to share.

On Mobile phones, users tend to go the native way - for most of the people, they use Chrome's share because it's easier.

Re:Ask HN: Do people still use the social media buttons on y... by Arun_Billava on Tuesday March 28, 2017 @08:02AM (#13975823)
Yes, If things are interesting or if they get any rewards they will share with the people. Specially whatsapp or any other messaging application.
Re:Ask HN: Do people still use the social media buttons on y... by ctack on Tuesday March 28, 2017 @08:22AM (#13975938)
I didn't know about the whatsapp share button - that is very neat.
Re:Ask HN: Do people still use the social media buttons on y... by tmaly on Tuesday March 28, 2017 @11:34AM (#13977469)
I would be curios to know which of the buttons gets the most use