Connects a WordPress site to FoPost so content you compose there lands in WordPress.
The plugin does one job: it manages a site token. You generate the token here, paste it into FoPost together with your site URL, and FoPost presents it back on every request. Nothing else in WordPress is exposed.
This plugin does not publish to social platforms. That is a separate, free plugin (fopost/social-wordpress), which talks straight to the networks with your own app credentials and needs no FoPost account.
The token reaches four routes and nothing else:
| Method | Route | Purpose |
|---|---|---|
GET |
/wp-json/fopost/v1/site |
Read site name, URL, icon, and the configured content policy |
POST |
/wp-json/fopost/v1/posts |
Create a post |
POST |
/wp-json/fopost/v1/media |
Sideload a JPEG, PNG, GIF, or WebP image |
DELETE |
/wp-json/fopost/v1/posts/<id> |
Trash or delete a post the token created |
Authentication is the X-Fopost-Token header, checked against a SHA-256 hash. There is no WordPress user session, no nonce, and no cookie involved. Deleting is limited to posts this plugin created, so the token can never touch your existing content.
From a release zip
- Download
fopost-<version>.zipfrom Releases. - WordPress admin: Plugins, Add New, Upload Plugin.
- Activate, then open FoPost in the admin menu.
From source
git clone https://github.com/fopost/fopost-wp.git fopost
cd fopost
composer install --no-dev --optimize-autoloaderPlace the folder in wp-content/plugins/fopost and activate it.
- Open FoPost in the WordPress admin.
- Click Generate Token. The plaintext token is shown once, so copy it immediately.
- In FoPost, add a WordPress destination and paste the site URL plus the token.
Under Incoming Content you decide how posts arrive: honor the status FoPost asks for, force every post to draft for review, or always publish. You also pick the author and the post type.
If the site previously ran the OwlStack-branded plugin, activation copies its stored connection across once, so the existing token keeps working and nothing needs regenerating. The old option is left in place untouched. Posts the previous plugin created stay deletable through the API.
composer install
make test # phpunit
make lint # phpcs
make build # dist zipRequires PHP 8.1+ and WordPress 6.4+.
Questions and bug reports: fopost.com/contact or the issue tracker.
GPL-2.0-or-later. Copyright Porter Bridge, LLC.