Library / Social Media Publishing
Social Media Publishing
Share new WordPress posts on LinkedIn, X and Facebook via webhook
When an API call/webhook arrives, it publishes to social media using Facebook / Instagram, LinkedIn, X (Twitter).
What it does
## Share new WordPress posts to LinkedIn, X and Facebook ### How it works WordPress sends the post ID here when a post is published. The workflow reads the post from your site's REST API and publishes it to LinkedIn, X and your Facebook Page. Nothing polls, so there is no schedule to tune and no list of already-posted IDs to keep. ### Setup steps 1. Settings: enter your site URL. 2. New Post Webhook: add a Header Auth credential and copy the production URL. 3. Get API access: X developer console (pay-per-use since February 2026: load credits under Billing first, a post with a link costs $0.20), LinkedIn Posts API, Meta access tokens. Connect the credentials on the three publish nodes. 4. Publish on Facebook: replace YOUR_PAGE_ID with your Page ID. 5. In WordPress, POST {"post_id": 123} to the webhook URL on publish_post. The template description shows two ways: a webhook plugin, or a short PHP snippet for functions.php.
The steps
- New Post Webhook
- Settings
- Get Post
- Post Fields
- Get Featured Image
- Has Featured Image
- Publish on LinkedIn
- Publish Link on LinkedIn
- Publish on X
- Publish on Facebook
Similar automations
Social Media PublishingPublish WordPress posts to Facebook, Instagram, LinkedIn and X with Gemini captions16 stepsSocial Media PublishingPublish WordPress Posts to Social Media with Gemini42 stepsSocial Media PublishingPublish WordPress Posts to Social Media with AI Captions16 stepsSocial Media PublishingCreate Social Media Posts for X, Facebook and Instagram with Gemini and GPT-4o39 steps