S
S
Sergey2018-02-02 18:00:15
Telegram
Sergey, 2018-02-02 18:00:15

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

2 answer(s)
O
Oleg, 2018-02-02
@402d

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.

S
sim3x, 2018-02-02
@sim3x

You
don't need to do this
Users don't like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question