MarcP
(MarcP)
May 6, 2024, 6:32pm
1
I noticed the previews in Telegram for post-links do not get the actual post preview.
Actual post link:
Performance improvements are something we’re constantly investing in, so I don’t think there will ever be a date when it’ll be “done”.
In terms of the metrics you shared, it’s important to note that those reflect only the first visit to the community. Clicking around the site, and coming back in future, will be significantly faster!
Some related SO:
telegram, telegram-bot
seo, telegram
For example, I can randomly /?v=3333 to my link, and can see that Telegram fetches new metadata for the URL, but in case of a specific post, the same is shown, makes me wonder if the issue is on Discourse side?
1 Like
pmusaraj
(Penar Musaraj)
May 6, 2024, 8:02pm
2
I’m not sure this is Discourse-specific, I tested the URL above in a) a different Discourse instance and b) an Open Graph tester like opengraph.xyz, and both show the correct excerpt.
2 Likes
MarcP
(MarcP)
May 6, 2024, 8:04pm
3
Perhaps Telegram is doing something different… the issue is not happening in Discord as well.
1 Like
MarcP
(MarcP)
May 6, 2024, 8:53pm
4
This is what Telegram is looking at:
<link rel="canonical" href="https://meta.discourse.org/t/preparing-for-discourses-upgrade-to-ember-5/287211?page=3" />
Which links to: Preparing for Discourse's upgrade to Ember 5 - #48 by david
This is matching with the content Telegram is fetching as seen in my screenshots
EDIT - this post from 2022 seems related.
In crawler-view check the canonical link-tag for a posts Ember-url like:
https://meta.discourse.org/t/feedback-on-new-hamburger-and-user-menus/32519/123
<link rel="canonical" href="https://DOMAIN/t/SLUG/32519?page=6">
This should be changed to contain …#post_123
:
<link rel="canonical" href="https://DOMAIN/t/SLUG/32519?page=6#post_123">
1 Like