Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram share link url #101

Open
vaniwiki opened this issue May 17, 2024 · 11 comments
Open

Telegram share link url #101

vaniwiki opened this issue May 17, 2024 · 11 comments

Comments

@vaniwiki
Copy link

"web": "https://telegram.me/share/url?text=$text&url=$url",

Works if the url is set to https://t.me/, not https://telegram.me. Would clone and open pull request, but this seemed easier...

@gerardnico
Copy link
Member

It works for me on the iOS mobile. I have just tested.

They have it with the t.me format on the doc.

https://core.telegram.org/widgets/share

If you want to change it for fashion reason, don't hesitate to make a pr.

Thanks !

@gerardnico
Copy link
Member

This is inspired by

https://ellisonleao.github.io/sharer.js/#telegram

And

https://sharingbuttons.io/

I got the url from there I think. t.me is knew.

@gerardnico
Copy link
Member

It does a redirect to telegram.com, no?
I can't see, no computer for now.

@vaniwiki
Copy link
Author

vaniwiki commented May 17, 2024 via email

@vaniwiki
Copy link
Author

Sorry, my bad. Still doesn't work on iPhone (latest OS). Probably worked on Mac before then, because that works now at least. Not sure how to classify this bug then. More info needed?

@gerardnico
Copy link
Member

gerardnico commented May 17, 2024 via email

@vaniwiki
Copy link
Author

No, this is for the share icons, your social plugin. Not your website. I want to share on Telegram, Facebook, Twitter, etc. All of them worked fine, except Telegram which on iPhone told "No such User Exists." It doesn't even say which user doesn't exist. Since I'm an avid fan of Telegram, that is the one that I would use, mainly. Strange it works on one OS and not the other...

@gerardnico
Copy link
Member

I use

https://ellisonleao.github.io/sharer.js/#telegram

If you have the same behaviour there, there is nothing I can do.

@gerardnico
Copy link
Member

They use the short version ;)

https://github.com/ellisonleao/sharer.js/blob/main/sharer.js#L115

@gerardnico
Copy link
Member

Did you try manually?
May be it's just telegram?

@vaniwiki
Copy link
Author

Yes, I think this is one issue for Telegram, in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants