=== GoBrandIt ===
Contributors: gobranditapp
Tags: social media, scheduler, instagram, facebook, tiktok
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Plan once, post everywhere. Write, preview and schedule posts for Facebook, Instagram, X, LinkedIn, TikTok and more, from WordPress.

== Description ==

GoBrandIt for WordPress brings your [GoBrandIt](https://gobrandit.app) workspace into wp-admin. Write once, see how the post will look on every network, and publish now, schedule it, queue it or keep it as a draft — without leaving WordPress.

= Features =

* **Connect in one click.** Approve in GoBrandIt and come straight back. Works with Google sign-in and two-step verification. Email and password sign-in is there too.
* **Every channel in your workspace.** Facebook, Instagram, X, LinkedIn, TikTok, YouTube, Threads, Pinterest, Bluesky, Mastodon, Google Business Profile and more.
* **Previews like the GoBrandIt app.** One card per channel, with a character meter for every network.
* **Network options.** Instagram and Facebook post, reel or story; TikTok privacy, comments, Duet, Stitch and content disclosure; YouTube title and visibility; LinkedIn audience; Pinterest board and link; Google Business buttons.
* **Share any post or page.** "Share on GoBrandIt" under every post and beside the editor fills in the title, summary, link and featured image.
* **Your media.** Use images and videos from the WordPress media library or your GoBrandIt library. Large videos upload in chunks.
* **Several workspaces.** Switch between the workspaces your account can use.
* **Posts at a glance.** Drafts, scheduled, published, failed and waiting for approval, with search.
* **Approval workflows.** Workspaces that require approval send posts to an approver first.

= Requirements =

A GoBrandIt account. GoBrandIt has a free plan; see [gobrandit.app](https://gobrandit.app). Every feature of this plugin works on every plan — what you can publish depends on the channels and limits of your GoBrandIt workspace.

= Privacy and security =

* Your GoBrandIt password is sent straight to GoBrandIt and is never stored in WordPress.
* WordPress stores one access token, encrypted with this site's own secret keys. It never reaches a browser.
* Only administrators can connect, switch workspace or disconnect. Using the plugin needs the `publish_posts` capability; change it with the `gobrandit_capability` filter.
* Disconnecting, or deleting the plugin, revokes the token in GoBrandIt.
* The plugin adds nothing to the public side of your site.

= Credits =

Outfit font by The Outfit Project Authors, under the SIL Open Font License 1.1 (see `assets/fonts/OFL.txt`).

== External services ==

This plugin is a front end for the GoBrandIt service and does nothing without it.

It connects to **GoBrandIt** at `https://portal.gobrandit.app` (or the address set in `GOBRANDIT_PORTAL_URL`), only when someone uses the GoBrandIt screen in wp-admin:

* **Signing in** — the email and password (and two-step code) you enter, or a one-time code after you approve in GoBrandIt, to obtain an access token.
* **Working with your workspace** — to list your workspaces, channels, posts and media, and to create or delete posts. The post text, chosen channels, options and schedule you enter are sent.
* **Uploading media** — only the files you choose from the WordPress media library are sent.
* **Disconnecting or uninstalling** — the access token is sent so GoBrandIt can revoke it.

Channel avatars and media previews on the GoBrandIt screen are loaded from GoBrandIt's servers.

GoBrandIt [Terms of Service](https://gobrandit.app/terms) and [Privacy Policy](https://gobrandit.app/privacy).

== Installation ==

1. In **Plugins → Add New**, search for "GoBrandIt", or upload the plugin zip, then activate it.
2. Open **GoBrandIt** in the admin menu and choose **Connect with GoBrandIt**.
3. Pick the workspace to connect and approve. You are back in WordPress, ready to post.

== Frequently Asked Questions ==

= Do I need a GoBrandIt account? =

Yes. The plugin is the WordPress side of GoBrandIt; posts, channels and media live in your workspace. You can start free at [gobrandit.app](https://gobrandit.app).

= My site is not on HTTPS =

One-click connect needs HTTPS (local development addresses such as `.local` and `.test` are fine). Use email and password sign-in instead.

= How do I connect a new social channel? =

Channels are connected in GoBrandIt. Open **Channels → Add or manage channels**; new channels appear in WordPress straight away.

= Who on my site can use it? =

Administrators, and anyone with the `publish_posts` capability (authors and editors by default). Use the `gobrandit_capability` filter to change it.

= Can I point it at a staging portal? =

Yes. Define `GOBRANDIT_PORTAL_URL` in `wp-config.php`.

= Where can I get help? =

[Help center](https://gobrandit.app/help), [support](https://gobrandit.app/support), [contact us](https://gobrandit.app/contact), or email connect@gobrandit.app.

Follow GoBrandIt on [Facebook](https://www.facebook.com/gobranditapp) and [Instagram](https://www.instagram.com/gobranditapp/).

== Changelog ==

= 1.1.1 =
* Contributors lists the plugin's WordPress.org account, gobranditapp.

= 1.1.0 =
* Ready for the WordPress.org directory: plugin name, slug and text domain are all "gobrandit".

= 1.0.9 =
* Plugin header: plugin site gobrandit.app, author site prizmadigital.com.

= 1.0.8 =
* Plugin header: removed the Plugin URI, which duplicated the Author URI.

= 1.0.7 =
* Fixed: the Instagram icon showed as a solid square; it is now the real Instagram glyph everywhere.

= 1.0.6 =
* New: follow GoBrandIt on Facebook and Instagram from the plugin footer.

= 1.0.5 =
* Fixed: photos and videos uploaded from WordPress were not attached to the post.
* Fixed: switching workspace could show the previous workspace on hosts that cache the REST API (LiteSpeed, Hostinger, CDNs). Nothing the plugin answers is cached any more.
* Fixed: LinkedIn posts now send the audience LinkedIn requires.
* Fixed: media thumbnails from portals with a trailing slash in their address.
* New: network options — Instagram and Facebook reels and stories, TikTok privacy and interaction settings, YouTube, LinkedIn, Pinterest, Mastodon and Google Business options.
* New: previews match the GoBrandIt app, one card per channel.
* New: help, support and contact links.
* Improved: the Outfit font is bundled instead of loaded from Google Fonts.

= 1.0.1 – 1.0.4 =
* Connections and workspace switches are verified before they are saved.
* Brand icons for every network, and clearer channel identities.

= 1.0.0 =
* First release.

== Upgrade Notice ==

= 1.0.5 =
Fixes media not being attached to posts and workspace switching on cached hosts. Recommended for everyone.
