Wordpress 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.
Plugin was verified by WP team and published in Plugin Registry: https://wordpress.org/plugins/tg-instantview
Thanks a lot @fishchev for template.
My Telegram channel with plugin active: https://t.me/petro_ws
- Install plugin from Wordpress plugin registry.
- Or, download package from Releases page and install it via Wordpress Plugin Manager.
- Or, manually: copy the
tg-instantview
into yourwp-content/plugins
directory. - Check plugin configuration in "Settings" -> "TG InstantView settings", you may configure your channel ID (appears in IV header).
- To test, how your posts appears for Telegram bot, just add
tg-instantview=1
parameter to post URL, Post example. - 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
, Telegram bot will request again. - Instant View works only on mobile cliens! Do not try to test it desktop clients.