[WordPress] 外掛分享: FediBoost

WordPress 外掛 FediBoost 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「FediBoost」是 2026-02-12 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-22,距離現在已有 3 天。
  • 外掛最低要求 WordPress 6.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

kraftbj |

外掛標籤

boost | social | mastodon | fediverse | activitypub |

內容簡介

總結:FediBoost是一個WordPress外掛,透過擴展ActivityPub插件,可以自動在發佈WordPress文章時在連接的Mastodon帳戶上增強(post boosting)文章,有助於提高文章在fediverse中的可見性。

問答:
<ul>
<li>什麼是FediBoost?</li>
<ul>
<li>FediBoost是一個WordPress外掛,自動將你的WordPress文章在連接的Mastodon帳戶上增強。</li>
</ul>
<li>FediBoost有哪些功能?</li>
<ul>
<li>自動將新文章增強到連接的Mastodon帳戶</li>
<li>與ActivityPub插件無縫整合</li>
<li>設置後無需額外配置</li>
</ul>
<li>FediBoost有哪些要求?</li>
<ul>
<li>必須安裝和配置ActivityPub插件</li>
<li>透過ActivityPub連接一個Mastodon帳戶</li>
</ul>
<li>FediBoost如何提供開發者鉤子?</li>
<ul>
<li>FediBoost提供多個過濾器,允許開發人員自定義其行為</li>
</ul>
<li>在發佈文章時,FediBoost會做什麼?</li>
<ul>
<li>FediBoost會在Mastodon實例上搜索文章,並通過Mastodon API執行轉帖(增強)</li>
</ul>
</ul>

原文外掛簡介

FediBoost extends the ActivityPub plugin by automatically boosting your WordPress posts on your connected Mastodon accounts when they are published.
When you publish a new post on your WordPress site, FediBoost will automatically boost (reblog) that post on your linked Mastodon account, helping increase visibility across the fediverse.
Features:

Automatic boosting of new posts to connected Mastodon accounts
Seamless integration with the ActivityPub plugin
No additional configuration required after setup

Requirements:

The ActivityPub plugin must be installed and configured
A connected Mastodon account via ActivityPub

Developer Hooks
FediBoost provides several filters that allow developers to customize its behavior. All filters follow WordPress coding standards and can be added to your theme’s functions.php file or a custom plugin.
fediboost_should_boost_post
Control whether a specific post should be boosted. Return false to skip boosting for the given post. Default: true.
Parameters:

$should_boost (bool) — Whether the post should be boosted.
$post (WP_Post) — The post object being published.

Example:
add_filter( 'fediboost_should_boost_post', function( $should_boost, $post ) {
// Don't boost posts in the "internal" category.
if ( has_category( 'internal', $post ) ) {
return false;
}
return $should_boost;
}, 10, 2 );

fediboost_boost_delay
Delay in seconds after ActivityPub federation completes before the boost is executed. This delay is only used when the federation completion hook fires successfully. Default: 30.
Parameters:

$delay (int) — The delay in seconds.

Example:
add_filter( 'fediboost_boost_delay', function( $delay ) {
// Wait 2 minutes after federation before boosting.
return 120;
} );

fediboost_fallback_delay
Delay in seconds before a boost is executed when the ActivityPub federation completion hook does not fire. This acts as a safety net for older versions of the ActivityPub plugin that do not support the activitypub_outbox_processing_complete hook. If the federation hook fires first, the fallback is cancelled and fediboost_boost_delay is used instead. Default: 300 (5 minutes).
Parameters:

$delay (int) — The fallback delay in seconds.

Example:
add_filter( 'fediboost_fallback_delay', function( $delay ) {
// Wait 10 minutes in the fallback path.
return 600;
} );

fediboost_manage_capability
WordPress capability required to manage FediBoost settings. Default: ‘manage_options’. Note: a floor of ‘edit_others_posts’ is enforced regardless of this filter’s return value, so you cannot lower the requirement below that capability.
Parameters:

$capability (string) — The required capability.

Example:
add_filter( 'fediboost_manage_capability', function( $capability ) {
// Allow editors to manage FediBoost settings.
return 'edit_others_posts';
} );

fediboost_max_accounts
Maximum number of connected Mastodon accounts. Default: 10.
Parameters:

$max (int) — The maximum number of accounts.

Example:
add_filter( 'fediboost_max_accounts', function( $max ) {
// Allow up to 25 connected accounts.
return 25;
} );

External Services

FediBoost connects to external Mastodon instances that you configure (e.g., mastodon.social). This communication is essential for the plugin to function and is initiated only with the instance you explicitly provide.
During setup:

FediBoost registers an OAuth application on your Mastodon instance and performs an authorization flow so it can act on your behalf.

When a post is published:

FediBoost searches for the post on your Mastodon instance and performs a reblog (boost) via the Mastodon API.

Data sent to your Mastodon instance:

Your instance URL
OAuth authorization codes
Search queries to locate your posts
Reblog (boost) requests

Data stored locally on your WordPress site:

Encrypted OAuth tokens
Your Mastodon username
Your Mastodon instance URL

Each Mastodon instance has its own privacy policy and terms of service. You can find a list of instances and their policies at joinmastodon.org/servers.
This plugin does not send data to any third-party service other than the Mastodon instance(s) you explicitly configure.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「FediBoost」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1.0 | 1.0.0 | 1.0.1 | trunk |

延伸相關外掛(你可能也想知道)

  • ActivityPub 》這是測試版軟體,請參閱常見問題集以查看目前功能集或仍在計劃中的功能。, 此外掛實現了 ActivityPub 協議,讓您的讀者能夠在 Mastodon 及其他支援 ActivityP...。
  • WebFinger 》啟用 WebFinger(RFC 7033)支持 WordPress。, 關於 WebFinger:, , WebFinger 用於發現使用標準超文字傳輸協議(HTTP)方法透過安全傳輸識別網際網路上的人...。
  • NodeInfo(2) 》NodeInfo 是一個旨在創建標準化方式以公布分散式社交網路中運行的服務器元數據的努力。兩個關鍵目標是能夠更好地瞭解分散式社交網絡的用戶基礎以及構建工具,...。
  • Enable Mastodon Apps 》總結:此WordPress外掛與Friends和ActivityPub外掛搭配使用,可通過ActivityPub協議將您的WordPress博客連接到Fediverse,您可以通過博客追蹤其他用戶,也可...。
  • Event Bridge for ActivityPub 》**總結:**, 使用 ActivityPub 在 WordPress 的 Event Bridge 插件,讓您的活動更容易被發現,擴大影響力,並獨立於其他商業平台,在分散式網絡 (Fediverse) ...。
  • Pterotype 》Pterotype 透過新增活動發佈協議(ActivityPub)串流供應給您的部落格,將其加入聯邦網絡。使用 Mastodon、Pleroma 以及其他聯邦網絡平台的使用者便可從他們...。
  • sub.club 》以下是您要求的繁體中文HTML的摘要與bulleted list:, , 總結:這是一個外掛程式,讓您可以透過將您的免費部落格轉換為高級部落格來賺取金錢,使用 sub.club ...。

文章
Filter
Apply Filters
Mastodon