TG-InstantView

Description

Plugin to trigger Telegram Instant View for all Blog posts.

Principal: it detects Telegram bot and returns special template for posts, to trigger Instant View.

  • No template submitting required.
  • No special links required.
  • Compatable with any cross-posting systems.

Original Telegram InstantView templates registry appears to be dead, my template was not reviewed and submitted in over 1 year. This plugin solves this issue server-side.

My telegram channel with plugin active.

Project sources on Github (please submit issues there).

Screenshots

  • InstantView in Telegram mobile channel
  • InstantView opened
  • InstantView opened (gallery)

FAQ

Why not to use original Telegram Instant View templates registry?

Telegram’s InstantView looks abadoned, they do not accept new templates for years.

Why not to use way to build URL via Telegram InstantView Bot?

This works, but it will create ugly long URL. This plugin makes everything clear, like you have template in registry, you may post clear links to posts directly, your frends may do so and so on.

I installed plgun, but i still dont see InstantView on my posts

If you still dont see InstantView on URL’s, check the following:

  • Telegram bot caches parsing result, and Instant View will be triggered for new URL’s for bot. You may prune cache by adding some random parameters like test=123 and change it every time, Telegram bot will request again.
  • Instant View works only on mobile cliens! Do not try to test it desktop clients.

I want to test, how Telegram sees my post via InstantView

To test, how your posts appears for Telegram bot, just add tg-instantview=1 parameter to post URL, Post example.

Reviews

November 25, 2024
Great plugin! One question: when displaying a post, I have the smallest thumbnail of the post shown. In your example, I see a large full image. What can affect the size of the output image?
Read all 1 review

Contributors & Developers

“TG-InstantView” is open source software. The following people have contributed to this plugin.

Contributors

Translate “TG-InstantView” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.5

  • Fixes issues related with images Lazy-load, that may break IV layout
  • Fixes issues with various plugins (like EWWW Image Optimizer) with SEO and CDN features
  • Add shortcut links to plugins list page
  • Add plugin credits to IV preview

1.4

  • Plugin now provides full set of OpenGraph meta information for post and does not require SEO plugins anymore
  • Add option to show/hide post published date
  • Add option to show/hide post author

1.3

  • Fixes from WordPress review: template html, prefixes, license

1.2

  • Fixes from WordPress review: escaping, prefixes and etc

1.1

  • Fixes for standart templates redirection

1.0

  • Initital version