The algorithm used to generate deep links?

Can't find neither in Russian nor in the English speaking Internet.

Not just short links - it is clear to me. Namely deep links.

What kind of algorithm? At least for the first 5ки popular social networking sites.
March 19th 20 at 08:45
1 answer
March 19th 20 at 08:47
@howell_Wal, to become interesting.

It turns out that when you poke the link, and it is ,if you hit it from your phone redirects you either to the app for example redirects to instagram, for a post opening is the section in the application that wanted Creator links) or throws you to download this app.

The General theme is muddy, not enough disk imaging, the gugleniya leads only to paid.

But one hero habré opened all the cards:
https://habr.com/ru/company/jugru/blog/352914/

with it judging on the whole, such services as branch.io are service providers of deeplinking.
They register your domain https always with a certificate, so there apple, their domain is added by the owners of the applications in the application logic, and then the magic begins. That is the maximum that can be done without having a billion in my pocket:

1) write deeplink service for your personal application
2) to write not deeplink service, and the usual url shortener that stupid kidaet user on mobilnoy version of the app, and then - shit.
3) on my knees to beg the major social.network, so they took pity on you and added in the logic of their applications your deeplink engine.

This is the conclusion I made after watching half the video at the above link on Habr. The second half of the video I see laziness, you see.
I do with it? :) I'm not the author of the question and I outline clear and the details are not interesting. - howell_Wal commented on March 19th 20 at 08:50
@howell_Wal, well, just in General terms, this topic nafig not needed, because in General terms - is a URL Shortener not deeplink.

Yesterday there was another lad asked the same question, and at first I also thought that-for such deep links and paid more. There are also free goo.gl go like that.

And it is Tmutarakani. - Leanne commented on March 19th 20 at 08:53
2) - this is it. All. No? Why else would you be 1) or 3) ? - Ignacio_Langosh commented on March 19th 20 at 08:56
@Ignacio_Langosh, Oh I meant the mobile version of the website and not the app in the second paragraph. On the app to throw a problem - Leanne commented on March 19th 20 at 08:59
@Leanne, why? "if android { redirect_to ("instagram://abcd") } " else redirecto_to "https://instagram.com/abcd" - Ignacio_Langosh commented on March 19th 20 at 09:02
@Ignacio_Langoshreally works.

Here is a resource that does not hide links for apps, and I checked - works. https://app.urlgeni.us/#/
I'm instagram not sitting, so the first Google took - Yulia Nachalova.

to open:
dev.hozmagkomi.ru/test.php - open the instagram app and takes you to the profile of Yulka.

test.php:
<?php
header("Location: instagram://user?username=julianachalova");
?>
the <script>
document.location="instagram://user?username=julianachalova";
</script>
- Leanne commented on March 19th 20 at 09:05
@Leanne, why, and js, and php? - Ignacio_Langosh commented on March 19th 20 at 09:08
@Ignacio_Langosh, Yes, there is nothing specifically made me write one extra line was easier than the first pour first single file with JS, then a second with a header () to see which one works and which does not.

The General format works well. I'm happy with the result. Thank you for your question, because the topic is quite interesting, and without this question I would not even know that this is possible.

In General, it is possible and meta tag redirects to do and document.location, and the frame. I just tried the simplest that came to mind. It worked - and then I didn't test. - Leanne commented on March 19th 20 at 09:11

Find more questions by tags Web DevelopmentAlgorithms