Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cypherninjaa/wp-auto-social-share/archive/refs/heads/main.zipAutomatically share newly published WordPress posts to Facebook Pages and Instagram Business accounts.
Description
WP Auto Social Share automatically shares your newly published WordPress posts to your connected Facebook Page and Instagram Business account using the Meta Graph API.
Features:
- Auto-share on post publish
- Custom caption templates with variables ({title}, {link}, {excerpt})
- Enable/Disable Facebook or Instagram independently
- Secure OAuth-based token storage
- Error logging with debug mode
- Connection status dashboard
- Simple and clean admin UI
Supported Platforms:
- Facebook Pages
- Instagram Business / Creator Accounts
Installation
- Upload the
wp-auto-social-sharefolder to/wp-content/plugins/ - Activate the plugin through the "Plugins" menu in WordPress
- Go to Settings → Auto Social Share
- Enter your Meta App ID, App Secret, and Access Token
- Configure your Facebook Page ID and Instagram Business Account ID
- Enable the platforms you want to share to
- Publish a post and it will be automatically shared!
Setup Guide
- Create a Meta Developer App at https://developers.facebook.com/
- Add the "Facebook Login" and "Instagram Graph API" products
- Generate a User Access Token with
pages_manage_posts,pages_read_engagement,instagram_basic, andinstagram_content_publishpermissions - Exchange for a long-lived token
- Get your Page Access Token from the /me/accounts endpoint
- Find your Instagram Business Account ID from the Page's instagram_business_account field
Frequently Asked Questions
What permissions are needed?
You need: pages_manage_posts, pages_read_engagement, instagram_basic, instagram_content_publish
Does it work with Instagram personal accounts?
No, only Instagram Business or Creator accounts linked to a Facebook Page are supported.
Does it share when I update an existing post?
No, it only shares when a post transitions from non-published to published for the first time.
Can I customize what gets shared?
Yes, use the caption template with variables: {title}, {link}, {excerpt}
Does Instagram require an image?
Yes, Instagram posts require a featured image to be set on the WordPress post.
Changelog
1.0.0
- Initial release
- Facebook Page sharing
- Instagram Business sharing
- Caption templates
- Admin settings panel
- Error logging
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.