fiatjaf / njump

mirror of https://git.njump.me/njump
MIT License
108 stars 24 forks source link

Feature Request: Open Graph tags for previews when sharing #41

Open henkvantijen opened 9 months ago

henkvantijen commented 9 months ago

[edit: removed the Open Graph request, as it is moot, alreadt functioning] Telegram works with basic Open Graph tags, but it also has a very elaborate format for Instant Views (no switch to browser), but basically you just need Title, intro text and image. In order to get your own (NJump/Nostr) specific preview format, one need to upload to Telegram an XPath template (and it must be approved, I think)

https://instantview.telegram.org/docs https://jlelse.blog/dev/tg-instant-view

fiatjaf commented 9 months ago

Don't we have that already? That was the entire point of creating njump in the first place.

henkvantijen commented 8 months ago

You are totally right, fiatjaf, my bad.

But, an Instant View template would still be welcome to see njump’s in an Instant View inTelegram.

henkvantijen commented 8 months ago

So I amconfused. This njump gets a Instant View. https://njump.me/nevent1qqs0j06qgxq0cdwjsxgfv8pq8aqe9td749t009dwn2qtueywy00dzuszypgdjn7zmpvqc6ptqud9gtutrcc6yq9s2z96h9dr80hss4wl9qwkxqcyqqqqqqgpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3wamnwvaz7tmwdaehgu3wvekhgtnhd9azucnf0gq3wamnwvaz7tmjv4kxz7fwvd6hyun9de6zuenedyq3yamnwvaz7tm0venxx6rpd9hzuur4vgqs6amnwvaz7tmwdaejumr0dsq3kamnwvaz7tmwdaehgu3wvd5x2etnv4ex7cn0wshx7un8qy2hwumn8ghj7un9d3shjtnwdaehgu3wwejhgxzhvrg

fiatjaf commented 8 months ago

It's complicated. I don't understand it either.