| 开发者 | sawirricardo |
|---|---|
| 更新时间 | 2026年9月14日 07:57 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
"date": "next".@handle and the network resolves it on X, Instagram, Threads, Mastodon, Telegram, Reddit and Bluesky, where links and handles become real facets. LinkedIn company pages are @[Name](org:12345) with the ID from the page URL; Facebook pages are @[12345].{n} in the text to number runs, since X, Threads and Bluesky reject identical text./wp-json/sawir-social/v1 for automations, mobile apps, and other sites. Authenticate with an application password; permissions follow the plugin's capabilities and channel credentials are never returned.
GET /platforms, GET /channels, GET /channels/{id}, POST /channels/{id}/testGET|POST /posts, GET|PATCH|DELETE /posts/{id}, POST /posts/{id}/duplicate, GET /posts/{id}/analyticsGET /sends, GET /sends/{id}, POST /sends/{id}/retry, POST /sends/{id}/stats{"title","content","status":"future","date":"2026-12-25 09:00","media":[12],"parts":[{"text","media","delay"}],"channels":[{"id":38,"parts":[{"text","media","delay"}],"date":"…"}],"groups":["Client A"],"hold":false}. A channel's parts replace the post for that channel; text is shorthand for a single part.
AI agents
The same operations are registered with the WordPress Abilities API as sawir-social/list-channels, create-post, update-post, list-posts, list-sends, retry-send, test-channel, get-analytics and list-platforms, with typed input and output schemas. Any agent connected through the WordPress MCP adapter sees them as tools, and they are also callable at /wp-json/wp-abilities/v1/abilities/{name}/run. The Abilities API is part of WordPress 6.9 and newer; for older versions the plugin bundles it, so the abilities are available everywhere the plugin runs.
Requirements
Sends run in the background through Action Scheduler when your site has it (WooCommerce and many other plugins provide it) and through WP-Cron otherwise. On WordPress's built-in cron they only progress when the site gets traffic. For prompt sends, add a system cron, the Calendar screen shows the exact command for your site.
Media must be reachable from the internet for platforms that fetch by URL (Instagram, Threads, Facebook, Pinterest, Telegram). A local development site cannot deliver images to them.
Credits
Bundles FullCalendar (MIT), the WordPress Abilities API library (GPL), and brand marks from Simple Icons (CC0). Uses Action Scheduler when another plugin provides it.
/wp-content/plugins/ and activate it.Each platform's developer settings. The channel form names the exact credential it needs, for example a Facebook Page access token, a Telegram bot token, or a Bluesky app password. Long-lived tokens are best; Meta and LinkedIn tokens expire after about 60 days and need re-pasting.
Private channels have no @username. Leave the Chat ID blank and click Test connection: the plugin lists every chat the bot has been added to, with the numeric ID to paste.
The background queue has not run yet. Visit the site, or set up the system cron shown on the Calendar screen.
No. Instagram fetches media by URL and needs a public address. Everything else about the plugin works locally.
Not in this version. MeWe has no public posting API, Skool has no API at all, and Nostr needs a WebSocket relay client and Schnorr signing that PHP does not ship with.