Skip to content

Add Open Graph html prefix for Telegram WebpageBot - #48

Merged
aivascu merged 1 commit into
masterfrom
fix/telegram-og-html-prefix
Sep 3, 2026
Merged

Add Open Graph html prefix for Telegram WebpageBot#48
aivascu merged 1 commit into
masterfrom
fix/telegram-og-html-prefix

Conversation

@aivascu

@aivascu aivascu commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds htmlAttrs.prefix = 'og: http://ogp.me/ns#' so Telegram's @WebpageBot can refresh cached link previews for https://autofixture.com.
  • Bare URL previews were stuck empty while the same page worked with a query string (?v); OG tags were already correct.

Test plan

  • Deploy / preview build includes <html prefix="og: http://ogp.me/ns#">
  • Send https://autofixture.com to @WebpageBot and confirm update
  • Paste bare https://autofixture.com in a new Telegram chat and verify preview shows title, description, and image

@aivascu
aivascu merged commit 131f77b into master Sep 3, 2026
2 checks passed
@aivascu
aivascu deleted the fix/telegram-og-html-prefix branch September 3, 2026 09:04
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

Successfully merging this pull request may close these issues.

1 participant