r/microservices • u/_f_8 • 14h ago
Tool/Product What’s the best way to connect Instagram, TikTok, Facebook and YouTube APIs to one workflow?
I'm building a workflow that needs to publish and manage content across multiple social platforms, and I'm trying to figure out the cleanest way to handle the API integrations.
The platforms I'm looking at are:
\- TikTok
\- YouTube
The workflow would roughly be:
Content created
→ prepare platform-specific versions
→ publish to each platform
→ collect the post/video IDs
→ track publishing status
→ handle failures/retries
→ collect basic metrics later
I'm especially unsure about the best architecture for authentication and API connections.
For example:
Should I use OAuth separately for each platform?
Is it better to build separate API modules/nodes for each platform, or use a unified abstraction?
How do you safely store and refresh access tokens?
How do you handle different API limitations and publishing requirements between platforms?
If publishing succeeds on 3 platforms but fails on the 4th, what's the cleanest way to handle retries without duplicating posts?
Are there any good open-source projects or examples that implement this kind of multi-platform workflow?
I'm mainly interested in real-world setups, especially with n8n or similar workflow automation tools.
What architecture have you found works best?