MSocialHub Backend Server
Server is running successfully!
Available Endpoints:
Working Endpoints (Basic Scopes):
- POST /api/linkedin/post/:socialAccountId - โ
Create personal post
- GET /api/linkedin/status - โ
Get account status
- POST /api/linkedin/refresh/:socialAccountId - โ
Refresh token
YouTube Endpoints (Full Access):
- POST /api/youtube/upload/:socialAccountId - โ
Upload video
- GET /api/youtube/channel/:socialAccountId - โ
Get channel info
- GET /api/youtube/analytics/:socialAccountId - โ
Get analytics
- GET /api/youtube/status - โ
Get account status
- POST /api/youtube/refresh/:socialAccountId - โ
Refresh token
- POST /api/facebook/post/:socialAccountId - โ
Post image/text
- GET /api/facebook/status - โ
Get account status
- POST /api/facebook/refresh/:socialAccountId - โ
Refresh token
- POST /api/instagram/post/:socialAccountId - โ
Post image with caption
- GET /api/instagram/status - โ
Get account status
- POST /api/instagram/refresh/:socialAccountId - โ
Refresh token
- GET /api/instagram-standalone/account/:socialAccountId - โ
Get account info
- GET /api/instagram-standalone/media/:socialAccountId - โ
Get user media
- GET /api/instagram-standalone/status - โ
Get account status
- POST /api/instagram-standalone/refresh/:socialAccountId - โ
Refresh token
Requires LinkedIn Approval:
- GET /api/linkedin/company-pages - โ Company pages (needs org scopes)
- POST /api/linkedin/company-post/:socialAccountId/:companyId - โ Company posting (needs org scopes)
- GET /api/linkedin/analytics/:socialAccountId - โ Analytics (needs org scopes)