| 开发者 | defyndigital |
|---|---|
| 更新时间 | 2026年6月3日 09:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
AUTH_KEY constant.
Semi-manual mode (original)
If you don't want to set up a Google Cloud project, the original semi-manual handoff still works:
gbposter folder to /wp-content/plugins/ or install via Plugins → Add New → Upload.Yes, from v2.0.0 onward — if you connect your Google account through the built-in OAuth wizard. The plugin uses the official Google Business Profile API to create the post on your behalf. If you prefer not to set up OAuth, the original semi-manual mode is still available: GMB Poster prepares the image, caption and tracked link, opens GBP in your browser, and you publish with one click.
Google requires every application that calls the Business Profile API to use its own OAuth client credentials. We don't ship a shared client because that would mean every install of this plugin would share the same OAuth secret — a security risk and against Google's terms. The setup is a one-time, ~10-minute process and the wizard walks you through it. There are no quotas, fees or recurring costs on Google's side for this volume.
Only when you've enabled auto-publish. In that mode, for each scheduled post the plugin sends to Google: the caption text, the featured-image URL, the CTA text + URL, and the post's language. The OAuth handshake itself doesn't send any post data — only your consent to act on your account's behalf. In semi-manual mode no data leaves your server; opening GBP is a normal browser navigation. Full details in the "External services" section above.
In your WordPress options table. The OAuth Client Secret and the refresh token are encrypted at rest using AES-256-CBC with a key derived from your site's AUTH_KEY constant. They never appear in any log, REST response, or admin screen.
Yes — the post editor sidebar includes a "Do not send this post to GBP" checkbox.
Items that pass their scheduled time stay in the "Ready" status — they don't expire. You'll see them next time you open WordPress.
The plugin activates per-site. Each site in the network has its own queue and settings. Network-wide activation is not specifically tested in this release.
Yes. The settings meta box appears in the editor sidebar in both classic and block editors.
AUTH_KEY).Failed (red pill, persisted Google API error message, one-click Retry).manage_options-gated except the OAuth callback which uses a state-nonce): /oauth/credentials, /oauth/start, /oauth/callback, /oauth/disconnect, /oauth/status, /locations, /location/select, /auto-publish, /publish/{id}.google_post_id and error_message columns. Runs automatically on update via dbDelta().?error=access_denied to the admin in a styled HTML error page instead of a confusing "missing parameter" message.prepared_at and posted_at timestamps. Helps client code (and end-to-end tests) verify queue-item lifecycle without a second DB lookup.edit_posts capability and a valid REST nonce).