#109 Halcyon's share URL

Closed
opened 4 years ago by husimo · 3 comments
husimo commented 4 years ago

Hello, Does Halcyon provide an URL where we can add a parameter to share another URL ? Something like https://halcyon.example.com/?share&url=https://mywebsite/mylink. It would be very useful, as it allows to share without being in Halcyon before. Thank you :)

Hello, Does Halcyon provide an URL where we can add a parameter to share another URL ? Something like https://halcyon.example.com/?share&url=https://mywebsite/mylink. It would be very useful, as it allows to share without being in Halcyon before. Thank you :)
Niklas Poslovski commented 4 years ago
Owner

That's a very complicated thing but I think I can give it a try. The first problem is that all big websites link to Facebooks and Twitters share urls but not to Halcyon. The second problem is that the websites don't know to which instance they should redirect. The second one can be solved by showing a domain prompt how Mastodon already does for remote follow or interaction. But for the first one we can only wait and hope that they'll do it some day. If you forget about these two problems for a moment,on the Halcyon side it should be possible to implement such a thing.

That's a very complicated thing but I think I can give it a try. The first problem is that all big websites link to Facebooks and Twitters share urls but not to Halcyon. The second problem is that the websites don't know to which instance they should redirect. The second one can be solved by showing a domain prompt how Mastodon already does for remote follow or interaction. But for the first one we can only wait and hope that they'll do it some day. If you forget about these two problems for a moment,on the Halcyon side it should be possible to implement such a thing.
husimo commented 4 years ago
Poster

Hello,

Thank you for your kind answer.

Of course no major website will provide a "share" link for Halcyon, nor for Mastodon or related tools in the fediverse. I was thinking about using a browser extension like https://addons.mozilla.org/fr/firefox/addon/share-freedom/?src=search where you add your instance's URL in the settings. You click on it on any website you are, and you are redirected to your Halcyon's instance.

Or you can use a Bookmarklet (even if it's not fashion nowadays) like javascript:void(location.href='https://halcyon.domain.tld/share/?url='+document.location.href that will do the same thing.

So I think the "only" thing that you would have to implement is to create a route in Halcyon that will use the URL parameter provided and copy it to "toot" area.

Thanks :-)

Hello, Thank you for your kind answer. Of course no major website will provide a "share" link for Halcyon, nor for Mastodon or related tools in the fediverse. I was thinking about using a browser extension like [https://addons.mozilla.org/fr/firefox/addon/share-freedom/?src=search](Share freedom) where you add your instance's URL in the settings. You click on it on any website you are, and you are redirected to your Halcyon's instance. Or you can use a Bookmarklet (even if it's not fashion nowadays) like `javascript:void(location.href='https://halcyon.domain.tld/share/?url='+document.location.href` that will do the same thing. So I think the "only" thing that you would have to implement is to create a route in Halcyon that will use the URL parameter provided and copy it to "toot" area. Thanks :-)
Niklas Poslovski commented 4 years ago
Owner

The addon is a very good idea. I will add the share page to Halcyon,that shouldn't be a big problem. Additionally I can try to create a own Firefox plugin for that purpose but I have no experience with that and can't say if it will work yet.

The addon is a very good idea. I will add the share page to Halcyon,that shouldn't be a big problem. Additionally I can try to create a own Firefox plugin for that purpose but I have no experience with that and can't say if it will work yet.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.