Answer the question
In order to leave comments, you need to log in
Determine if Telegram is installed from a web page?
Hello, the task was to determine if the user has telegram installed on the phone? Let's say the user follows the link, and if he has a telegram installed, he is thrown on the telegram channel, if not installed, then he is thrown to another place. How to do it?
Answer the question
In order to leave comments, you need to log in
You can actually do this.
the link leads to a page "elsewhere".
on this page you reproduce the behavior of telegram.me/antson1974
there, after 1 second, window.location is assigned to
tg:blabla
tg: - this is the telegram scheme. if it is set, then the action will be executed.
Unfortunately, it is impossible to hide the page from those who have telegram installed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question