Linux 软件免费装
Banner图

Krivoshein Autopost for MAX

开发者 alekseyweb
更新时间 2026年10月17日 16:59
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

social cron notifications messenger max

下载

1.12.0

详情介绍:

Krivoshein Autopost for MAX sends a published WordPress post to a chat or channel in the MAX messenger. One post becomes one MAX message: 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 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. Используется ваш собственный токен бота. Что умеет плагин Новые записи ставятся в очередь в момент публикации. Записи, которые уже были на сайте до установки плагина, не отправляются, пока вы сами не поставите их в очередь. Плагин разрабатывается открыто: https://github.com/A-Krivoshen/max-autopost.

安装:

  1. Upload the plugin and activate Krivoshein Autopost for MAX. You can also install it from the Plugins screen once it is in the directory.
  2. Open Krivoshein Autopost for MAX, then Settings. Save the bot token and the chat ID.
  3. Send a test message.
  4. Publish a post, or run the queue from the Queue tab.
If this site already runs the GitHub release (the folder is named max-autopost), deactivate that copy and remove its folder before you activate this one. Do not use Plugins, then Delete, if you want to keep the saved token: Delete runs uninstall and clears the plugin settings. Remove the old folder with FTP or the hosting file manager, then activate this build. The settings remain, because both builds use the same option names. Do not keep both copies active. They are the same plugin with two different folders. По-русски
  1. Загрузите плагин и включите Krivoshein Autopost for MAX. Когда он есть в каталоге, его можно установить на экране «Плагины».
  2. Откройте Krivoshein Autopost for MAX, затем «Настройки». Сохраните токен бота и ID чата.
  3. Отправьте тестовое сообщение.
  4. Опубликуйте запись или запустите очередь на вкладке «Очередь».
Если на сайте уже стоит сборка с GitHub (папка называется max-autopost), отключите её и удалите папку до включения этой копии. Не нажимайте «Плагины», затем «Удалить», если нужно сохранить токен: удаление запускает uninstall и стирает настройки плагина. Уберите старую папку по FTP или через файловый менеджер хостинга, затем включите эту сборку. Настройки останутся: обе сборки используют одни и те же имена опций. Не держите обе копии включёнными. Это один и тот же плагин в двух разных папках.

升级注意事项:

1.12.0 Queue settings are kept. Only queued items older than 14 days are marked as an error. Настройки очереди сохраняются. Ошибкой помечаются только элементы очереди старше 14 дней.

常见问题:

Is this an official MAX plugin? / Это официальный плагин MAX?

No. MAX is a separate messenger. This plugin calls the public MAX Bot API with a token you create for your own bot. Нет. MAX — отдельный мессенджер. Плагин обращается к открытому MAX Bot API с токеном, который вы создаёте для своего бота.

Where is the token stored? / Где хранится токен?

In your WordPress database (the options table), unless you define KRV_MAX_TOKEN in wp-config.php. The plugin author never receives the token. В базе WordPress (таблица настроек), если вы не задали KRV_MAX_TOKEN в wp-config.php. Автор плагина токен не получает.

What is sent to MAX? / Что отправляется в MAX?

Only when you send a test, or when the queue sends a post: the bot token, the chat ID, the title, the text, the link, the button label and URL, and the featured image when images are enabled. Только когда вы отправляете тест или когда очередь отправляет запись: токен бота, ID чата, заголовок, текст, ссылка, подпись и адрес кнопки, а также изображение записи, если картинки включены.

Why is a certificate file included? / Зачем в комплекте файл сертификата?

The MAX API certificate is issued by the Russian Trusted CA. Many shared hosts do not trust that CA. The plugin appends this public certificate to the normal trust store, and only for requests to MAX and its media hosts. Other HTTPS requests on the site are unchanged. Сертификат API MAX выпущен удостоверяющим центром Russian Trusted CA. Многие виртуальные хостинги этому центру не доверяют. Плагин добавляет этот открытый сертификат к обычному хранилищу доверия и только для запросов к MAX и его медиахостам. Остальные HTTPS-запросы сайта не меняются.

Why does image upload use cURL? / Почему загрузка картинки идёт через cURL?

MAX upload is two steps. The second step is a multipart file upload to a one-time HTTPS address. The WordPress HTTP API does not send that file in the shape the API expects. cURL is limited to HTTPS, and the host must be MAX or a known MAX media host. Загрузка в MAX идёт в два шага. Второй шаг — отправка файла multipart на одноразовый адрес HTTPS. HTTP API WordPress не передаёт файл в том виде, которого ждёт API. cURL ограничен HTTPS, а хост должен быть MAX или известным медиахостом MAX.

Will activation publish my old posts? / Активация опубликует старые записи?

No. Existing posts stay where they are until you queue them. Queue actions run in batches. Нет. Уже существующие записи остаются на месте, пока вы сами не поставите их в очередь. Очередь работает пакетами.

更新日志:

1.12.0 1.11.9 1.11.7 1.11.0