Description
Assertivlogix AI Social Publisher is a powerful, lightweight WordPress plugin that automates caption generation using OpenAI’s powerful GPT models. When you publish a post, the plugin automatically drafts tailored, platform-specific captions for LinkedIn, Facebook, and Instagram.
Rather than posting blindly, the plugin places you in full control with a preview and edit screen directly on the post editor page. You can review, refine, and publish to each platform individually with a single click.
Features
- AI Caption Generation: Automatic generation of tailored captions for LinkedIn, Facebook, and Instagram using OpenAI.
- One-Click Direct OAuth Login: Connect LinkedIn, Facebook Pages, and Instagram Business accounts directly via OAuth 2.0 without manually generating access tokens.
- Approval-First Design: No automated sharing without your approval. Edit and approve posts individually.
- AES-256-CBC Encryption: Sensitive API credentials and platform tokens are securely encrypted at rest using your WordPress site’s unique salts (
AUTH_KEY/SECURE_AUTH_KEY). - REST API Integration: Modern, asynchronous React-friendly REST API integration for a smooth, lag-free user experience in the editor.
- Activity Logs: Built-in logging system to track successful posts, API responses, and errors.
Setup Guide
OpenAI API Key
- Generate an API key at OpenAI Platform.
- Save it under Assertivlogix AI Social Publisher Settings AI Caption Generation.
LinkedIn Direct OAuth Setup
- Create a developer app at the LinkedIn Developer Portal.
- Under the Products tab, add Share on LinkedIn and Sign In with LinkedIn using OpenID Connect.
- Under Auth OAuth 2.0 settings, add your site’s Authorized Redirect URL provided in the plugin settings:
http://yourdomain.com/wp-admin/admin.php?page=aisp-settings&aisp_action=linkedin_callback - Copy your Client ID and Client Secret, paste them into plugin settings, click Save Settings, then click Connect with LinkedIn.
- Your Access Token and Author URN will be saved automatically!
Meta (Facebook & Instagram) Direct OAuth Setup
- Create a Business app at Meta for Developers.
- Add Facebook Login for Business under Products.
- Under Facebook Login Settings, add your site’s Valid OAuth Redirect URI provided in the plugin settings:
http://yourdomain.com/wp-admin/admin.php?page=aisp-settings&aisp_action=facebook_callback - Copy your Meta App ID and Meta App Secret (under App Settings Basic), paste them into plugin settings, click Save Settings, then click Connect Meta (Facebook & Instagram).
- Authorize your pages when prompted. Your Facebook Page Access Token, Page ID, and linked Instagram Business Account ID will be saved automatically!
External Services
This plugin connects to several third-party external services in order to generate AI captions and publish posts to social media platforms. No data is sent to any service unless the site administrator has explicitly configured the corresponding API credentials and manually triggers the action.
OpenAI API
This plugin sends data to the OpenAI API to generate social media captions.
What data is sent: The title and an excerpt (up to 60 words) of the WordPress post being published, along with the administrator’s configured caption preferences (tone, hashtag settings).
When data is sent: Only when an administrator clicks the “Generate Captions” button or when a post is published with the auto-generate setting enabled.
Service provider: OpenAI, L.L.C.
Meta Platform APIs (Facebook Graph API & Instagram Graph API)
This plugin uses the Meta Graph API to publish posts to Facebook Pages and Instagram Business/Creator accounts.
What data is sent (Facebook): The caption text, the post permalink, and (if available) the featured image URL are sent to the Facebook Graph API to create a post on the configured Facebook Page.
What data is sent (Instagram): The caption text and the featured image URL are sent to the Instagram Graph API to create a media container and publish it to the configured Instagram Business account. Instagram requires an image for every post.
When data is sent: Only when an administrator manually clicks the “Post to Facebook” or “Post to Instagram” button on the post editor screen. No data is sent automatically.
Service provider: Meta Platforms, Inc.
LinkedIn API
This plugin uses the LinkedIn API to publish posts (UGC Posts) to a LinkedIn personal profile or Company Page.
What data is sent: The caption text, the post permalink, and (if available) the featured image binary are sent to the LinkedIn API to create a share post. If an image is included, it is first uploaded to LinkedIn via their asset upload flow, then attached to the post.
When data is sent: Only when an administrator manually clicks the “Post to LinkedIn” button on the post editor screen. No data is sent automatically.
Service provider: LinkedIn Corporation (a Microsoft company).
Installation
- Upload the
assertivlogix-ai-social-publisherdirectory to the/wp-content/plugins/directory, or upload a ZIP file of the plugin directory via Plugins Add New Upload Plugin. - Activate the plugin through the Plugins menu in WordPress.
- Navigate to Assertivlogix AI Social Publisher Settings in the WordPress admin menu to configure your API keys.
FAQ
-
No. For security and quality control, the plugin only generates the captions. You must manually review/edit them and click “Post to [Platform]” on the post editor page.
-
Can I post text-only updates to Instagram?
-
No. Meta’s Instagram Graph API requires every post to include an image. The plugin will check for a featured image and skip Instagram if one is not set.
-
How secure are my API tokens?
-
Extremely secure. The plugin encrypts all third-party API keys, App Secrets, and access tokens using AES-256-CBC, with the encryption key automatically derived from your WordPress installation’s unique salts (
AUTH_KEY/SECURE_AUTH_KEY).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Assertivlogix AI Social Publisher” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Assertivlogix AI Social Publisher” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Added OpenAI caption generation for LinkedIn, Facebook, and Instagram.
- Implemented direct OAuth 2.0 login for LinkedIn (“Connect with LinkedIn”) with OpenID Connect user URN auto-detection and JWT ID token decoding.
- Implemented direct OAuth 2.0 login for Meta (“Connect Meta”) with automated Facebook Page & Instagram Business Account detection and 60-day long-lived token exchange.
- Added AES-256-CBC token and client secret encryption at rest.
- Added cURL IPv4 DNS resolution and SSL compatibility fixes for Windows/XAMPP environments.
- Clean admin log viewer and configuration interface.
