News for hackers. Stuff that matters.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by haasn on Tuesday August 02, 2016 @09:54AM (#12209916)
I always copy/paste the URL when I want to share a website. That's what the URL is meant for. Heck, it's easier to copy the URL (using the keyboard) than it is to use the mouse to click on some button.

Sharing buttons are a nuisance more than anything. at best, I'd say they're a tool to enable spying on users and should be categorically blocked (as standard uBlock₀ filter rules let you do with a single click).

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by the_watcher on Tuesday August 02, 2016 @01:39PM (#12211617)
> Sharing buttons are a nuisance more than anything.

They're actually most often used as a quick way for people to support a site. I've seen it at every company I've worked for - they're easily the most common way that our site is distributed socially.

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by michaelmior on Tuesday August 02, 2016 @10:24AM (#12210139)
It's easier to copy the URL, but it's still faster to share by clicking than it is to do by copying the URL, navigating to the site you want to share to, pasting in the URL, adding some descriptive text, and clicking the share button.

Besides, sharing buttons which are just links (as in this post) don't aren't really that intrusive.

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by hexane360 on Tuesday August 02, 2016 @10:43AM (#12210292)
I can't believe Amazon doesn't have a "copy link" button. I guess they don't want too many "amzn.to" links floating around, but I hate to need to use bitly or an extension just to get the compressed link.

I think the ideal solution should be very similar to Android's sharing setup: One unified share button that can be sent to different apps or copied to clipboard. http://www.androidpolice.com/wp-content/uploads/2014/10/nexu...

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by komali2 on Tuesday August 02, 2016 @11:24AM (#12210608)
I don't understand what you mean by this. Do you mean a button that grabs the current URL you're at? Do other websites have this?

I'm not challenging you, I genuinely don't understand what you're talking about.

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by Spivak on Tuesday August 02, 2016 @12:04PM (#12210907)
A button to generate a shortened link. For example, when you click share on YouTube, you get a youtu.be link.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by mintplant on Tuesday August 02, 2016 @12:30PM (#12211104)
Why do you still need shortened links? For text messages, aesthetics, or ease of analog communication? Twitter, previously the main use case, no longer counts link length in tweets.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by haasn on Tuesday August 02, 2016 @01:49PM (#12211695)
While I don't think the URL shortening matters too much, there's still another important attribute of using these shortlinks that manifests itself on youtube: They also omit irrelevant metadata like URL parameters that were specific to your session or the way you arrived at the site.

For example, youtube will often include extra garbage parameters for stuff like playlists - which the youtu.be shorturls omit, making them perfect for sharing videos.

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by jessaustin on Tuesday August 02, 2016 @03:38PM (#12212688)
These parameters are not apparent to those with whom you share the shortlink, but I'd wager that the site stores a mapping from the shortlink to the session in which it was generated. Which may be OK for you; I don't know.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by Kliment on Tuesday August 02, 2016 @04:49PM (#12213278)
the youtu.be link contains nothing but the video's identifier, so I don't see how they could store a mapping
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by jessaustin on Tuesday August 02, 2016 @06:14PM (#12213845)
Is the identifier unique? Does it have to be? Without switching to a different browser on a different IP addr and finding the same video again through a different search, would you even know?
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by mintplant on Wednesday August 03, 2016 @12:17AM (#12215552)
Yes, the format is youtu.be/<video id> where <video id> matches the one in the long URL (youtube.com/watch?v=<video id>&extra patameters...) and is unique to the video.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by hexane360 on Thursday August 04, 2016 @11:09AM (#12226002)
Basically aesthetics. Especially with amazon, if I'm on mobile and copy a link (https://www.amazon.com/Haribo-Gummi-Candy-Gold-Bears-5-Pound...), it's got a bunch of excess weight. I can just cut it down to https://www.amazon.com/dp/B000EVOSE4/ without any loss of data. Alternatively, you can use bit.ly or an extension (https://chrome.google.com/webstore/detail/native-url-shorten...) to shorten it to http://amzn.to/2aTrW7v. However, this is a pain on mobile. The share buttons should just work. I think they might do it this way for increased analytics or referral links, however they should be able to do that with bit.ly too.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by haasn on Tuesday August 02, 2016 @01:44PM (#12211650)
This feature already exists and you don't need a button for it. It's part of HTML metadata, specifically the <link rel="shortlink"> tag.

You could either provide some sort of button to your browser to place this into the clipboard, or use an extension like pentadactyl to add a keyboard shortcut for it. (It's simply “y” by default - so copying URLs works like yanking in vim)

Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by losteric on Tuesday August 02, 2016 @12:00PM (#12210869)
From the context, it sounds like getting a product URL from within the native Android app.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by the_watcher on Tuesday August 02, 2016 @01:41PM (#12211628)
As mentioned, they do have a shortened link option. Also, where do you need shortened links, now that Twitter has excluded them from character counts (and used their own link shortener before then)? Facebook truncates URLs, etc.
Re:Show HN: Sharingbuttons.io – Fast and easy social media s... by electroly on Tuesday August 02, 2016 @12:05PM (#12210916)
They do. Click "Share" when you're on a product page. The shortened link is right there.