tweb icon indicating copy to clipboard operation
tweb copied to clipboard

[BUG] Cannot open `https://telegram.me/share/?url=<message>` with Telegram Web

Open zstadler opened this issue 1 year ago • 2 comments

Describe the bug Airalo and probably other websites are using links of the form https://telegram.me/share/?url=<message with URL> to allow users to send messages with Telegram. Such links works well when opened in a mobile device where the Telegram App is installed. However, it does not work on Chrome or Firefox browser running on a Win11 PC where Telegram Desktop is not installed.

To Reproduce Steps to reproduce the behavior:

  1. Verify that Telegram Desktop is not installed on a PC running Win11
  2. Open https://telegram.me/share/?url=Hey,... in a browser
  3. Click the "Share" button
  4. Nothing happens

Expected behavior The message should open in Telegram Web as if it is being forwarded, at the stage of selecting the recipients.

Screenshots Expect this screen when opening the above link. image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: chrome
  • Version: 127.0.6533.120 (Official Build) (64-bit)
  • Browser: firefox
  • Version: 115.14.0esr (64-bit)

zstadler avatar Aug 19 '24 09:08 zstadler

For our reference, this is how WhatsApp handles the same scenario:

  1. This is the initial screen - the equivalent of the above Telegram screenshot image

  2. This screen is shown after clicking "continue to chat", and it detect WhatsApp Desktop is not installed image

  3. This screen is shown after clicking "use WhatsApp Web" image

zstadler avatar Aug 19 '24 09:08 zstadler

نه .نمیتوانم وارد شوم کد به ایمیلی که برای من نیست ارسال میشود

Rezazolfe avatar Sep 21 '24 21:09 Rezazolfe

Thank you @morethanwords for fixing this issue! When can we expect the fix to be released?

zstadler avatar Feb 16 '25 07:02 zstadler

@morethanwords It looks like this bug is not fixed or that the fix is not released yet:

  • This issue was closed on Fri, 14 Feb 2025 10:15 GMT
  • I'm using https://web.telegram.org/k/ that was last-modified on Fri, 14 Feb 2025 15:29:42 GMT and it still behaves as described in this bug report.

zstadler avatar Feb 18 '25 08:02 zstadler

Fixed now in build 560.

morethanwords avatar Feb 23 '25 17:02 morethanwords

Thank you!

When opening the sharing link in Chrome there is indeed a new "Open in Web" button . Unfortunately, on Firefox, this button does not show.

Image

Clicking it opens a share pane

Image

zstadler avatar Feb 23 '25 22:02 zstadler