Unified Social Media Hub
Post to Facebook, Instagram, Twitter/X, and LinkedIn with one API call. Schedule content, track analytics, manage replies — all from a single platform built for affiliate marketers.
Overview Dashboard
Stats at a glance — posts published, platforms connected, scheduled queue
Connect Accounts
OAuth connect Facebook, Twitter, LinkedIn, Instagram with one click per platform
Compose & Post
Write once, publish to all connected platforms. Schedule for later or post instantly
Scheduled Queue
View, edit, cancel, or retry all scheduled posts. See retry history and failure logs
Analytics
Likes, comments, shares, impressions per post. 7-day charts, best-performing content
Unified Inbox
Fetch comments & messages across all platforms. Reply from one place
All endpoints are available at your DASHBOARD_URL. Add Authorization: Bearer YOUR_JWT header to all requests.
{
"content": "🚀 New affiliate offer — 40% commission this week only! [link]",
"platforms": ["facebook", "twitter", "linkedin"],
"media": ["https://your-cdn.com/banner.jpg"],
"scheduled_at": "2026-03-25T09:00:00Z" // omit to post immediately
}
Response: { post_id, status: "queued"|"published", results: [{platform, status, post_url}] }
// Query params: ?platform=facebook&post_id=123&date_from=2026-03-01
// Response:
{
"post_id": "123",
"platform": "facebook",
"metrics": {
"likes": 142,
"comments": 23,
"shares": 18,
"impressions": 4820,
"clicks": 87,
"engagement_rate": "3.7%"
}
}
Platforms: facebook, twitter, linkedin, instagram
// Visit in browser to start OAuth: GET /api/connect/facebook // Redirects to Facebook OAuth → callback stores token encrypted in DB
// Response:
{
"items": [
{ "id": "...", "platform": "facebook", "type": "comment", "text": "Great offer!", "author": "Jane D.", "timestamp": "..." },
{ "id": "...", "platform": "twitter", "type": "mention", "text": "@you looks amazing", "author": "john_doe", "timestamp": "..." }
]
}
// Reply:
POST /api/inbox/reply
{ "platform": "facebook", "comment_id": "...", "text": "Thanks! Link in bio." }
.env.example → .envFill in:
FACEBOOK_APP_ID, FACEBOOK_APP_SECRET, TWITTER_API_KEY, TWITTER_API_SECRET, LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRETSet
JWT_SECRET (any random string), ENCRYPTION_KEY (32 chars), DATABASE_URL, REDIS_URL
docker-compose up -dThis starts: Node.js app (port 3000) + PostgreSQL 15 + Redis 7
Visit
http://your-server:3000/dashboard
• Twitter/X: developer.twitter.com → Create Project → OAuth 2.0
• LinkedIn: developer.linkedin.com → Create App → Marketing Developer Platform
Set redirect URI to:
https://your-server.com/api/connect/callback
MOCK_MODE=true in .env to test the full workflow without hitting real APIs. All responses will be realistic but simulated.