[WordPress] 外掛分享: Krivoshein Autopost for MAX

首頁 › 外掛目錄 › Krivoshein Autopost for MAX
WordPress 外掛 Krivoshein Autopost for MAX 的封面圖片
全新外掛
安裝啟用
—
尚無評分
13 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 8.0+ v1.12.0 上架:2026-10-16

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.12.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Krivoshein Autopost for MAX」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Krivoshein Autopost for MAX sends a published WordPress post to a chat or channel in the MAX messenger.
One post becomes one MAX message:

an image, when the post has a featured image and images are enabled
the text you choose: the content, the excerpt, the title, or a plain announcement
an inline button, such as Read or Subscribe

This plugin is independent. It is not made by MAX, and it is not an official MAX product. You use your own bot token.
What it does

More than one chat ID. One post can go to several channels or groups. A failure in one chat does not stop the others.
A queue on WP-Cron, with a batch size, a pause between sends, retries, and a log.
HTTP 429 stops the batch and does not use up a retry.
Send one post now, from the editor or with WP-CLI.
The bot token can stay in the plugin settings, or in wp-config.php as KRV_MAX_TOKEN. The settings field stores the token in the database. wp-config.php is the safer place.

New posts are queued when they are published. Posts that already existed when you installed the plugin are not sent until you queue them.
Development of this plugin happens in public at https://github.com/A-Krivoshen/max-autopost.
По-русски
Krivoshein Autopost for MAX отправляет опубликованную запись WordPress в чат или канал мессенджера MAX.
Одна запись становится одним сообщением MAX:

картинка, если у записи есть изображение записи и отправка картинок включена
текст на выбор: содержимое, отрывок, заголовок или короткое объявление
кнопка в сообщении, например «Читать» или «Подписаться»

Плагин независимый. Его сделал не MAX, и это не официальный продукт MAX. Используется ваш собственный токен бота.
Что умеет плагин

Несколько ID чатов. Одна запись может уйти в несколько каналов или групп. Сбой в одном чате не останавливает остальные.
Очередь на WP-Cron: размер пакета, пауза между отправками, повторы и журнал.
Ответ HTTP 429 останавливает пакет и не тратит попытку повтора.
Одну запись можно отправить сразу из редактора или через WP-CLI.
Токен бота можно хранить в настройках плагина или в wp-config.php как KRV_MAX_TOKEN. Поле в настройках записывает токен в базу. В wp-config.php хранить его надёжнее.

Новые записи ставятся в очередь в момент публикации. Записи, которые уже были на сайте до установки плагина, не отправляются, пока вы сами не поставите их в очередь.
Плагин разрабатывается открыто: https://github.com/A-Krivoshen/max-autopost.
External services
This plugin connects to one external service: the MAX Bot API.

Service: MAX messenger Bot API
Host: https://platform-api2.max.ru
API reference: https://dev.max.ru/docs-api
Terms of use: https://legal.max.ru/ps
Developer rules: https://dev.max.ru/docs/legal/rules

The plugin contacts that host only after you save a bot token and a chat ID, and then send a test or let the queue send a post.
Data sent:

the bot token, in the Authorization header
the chat ID
the post title, text, and permalink
the button label and URL, when a button is enabled
the featured image, when images are enabled

The image is uploaded to a media host returned by the API. Those hosts are max.ru and the related media hosts oneme.ru, okcdn.ru, mycdn.me, vkuserphoto.ru, and userapi.com.
The token and the chat ID stay on your site. Nothing is sent to the plugin author.
По-русски
Плагин подключается к одному внешнему сервису: MAX Bot API.

Сервис: Bot API мессенджера MAX
Хост: https://platform-api2.max.ru
Описание API: https://dev.max.ru/docs-api
Условия использования: https://legal.max.ru/ps
Правила для разработчиков: https://dev.max.ru/docs/legal/rules

Плагин обращается к этому хосту только после того, как вы сохраните токен бота и ID чата, а затем отправите тест или дадите очереди отправить запись.
Какие данные уходят:

токен бота, в заголовке Authorization
ID чата
заголовок записи, текст и постоянная ссылка
подпись и адрес кнопки, если кнопка включена
изображение записи, если картинки включены

Картинка загружается на медиахост, который возвращает API. Это max.ru и связанные хосты oneme.ru, okcdn.ru, mycdn.me, vkuserphoto.ru и userapi.com.
Токен и ID чата остаются на вашем сайте. Автору плагина ничего не отправляется.

延伸相關外掛

文章
Filter
Mastodon