Official Node.js SDK for the InReelForge Social Media API. Upload videos, photos, and text to Instagram, YouTube, TikTok, Facebook, X (Twitter), LinkedIn, Threads, Pinterest, Reddit & Bluesky with a single API call.
npm install indreelforgeimport InReelForge from 'indreelforge';
const client = new InReelForge({
apiKey: 'your-api-key-here',
});
// Upload a video to multiple platforms
const result = await client.uploadVideo({
user: 'my-profile',
platforms: ['instagram', 'tiktok', 'youtube'],
videoPath: './my-video.mp4',
title: 'Check out this amazing video!',
});
console.log(result);
// { status: 'success', data: { upload_id: '...', platforms: [...] } }- One API call, all platforms — Upload to 10+ social networks simultaneously
- Video, Photo & Text — Support for all content types
- Scheduling — Schedule posts for any future date/time
- Analytics — Track performance across all platforms
- Profile Management — Manage multiple social media accounts
- TypeScript — Full type definitions included
- Lightweight — Zero dependencies (uses native
fetch)
await client.uploadVideo({
user: 'my-profile',
platforms: ['instagram', 'tiktok', 'youtube', 'facebook'],
videoPath: './video.mp4',
title: 'My awesome video',
firstComment: '#socialmedia #viral',
schedule: '2026-04-15T10:00:00Z',
youtubePrivacy: 'public',
youtubeTags: ['tutorial', 'tech'],
});await client.uploadPhotos({
user: 'my-profile',
platforms: ['instagram', 'facebook', 'pinterest'],
photoPaths: ['./photo1.jpg', './photo2.jpg'],
title: 'Photo carousel',
});await client.uploadText({
user: 'my-profile',
platforms: ['x', 'threads', 'bluesky'],
title: 'Just shipped a new feature! 🚀',
});// List profiles
const { profiles } = await client.getProfiles();
// Create profile
await client.createProfile('brand-account');
// Delete profile
await client.deleteProfile('old-account');const analytics = await client.getAnalytics('30d');
console.log(analytics.total_views, analytics.engagement_rate);| Platform | Video | Photo | Text | Scheduling |
|---|---|---|---|---|
| ✓ | ✓ | - | ✓ | |
| YouTube | ✓ | - | - | ✓ |
| TikTok | ✓ | ✓ | - | ✓ |
| ✓ | ✓ | ✓ | ✓ | |
| X (Twitter) | ✓ | ✓ | ✓ | ✓ |
| ✓ | ✓ | ✓ | ✓ | |
| Threads | - | ✓ | ✓ | ✓ |
| - | ✓ | - | ✓ | |
| ✓ | ✓ | ✓ | ✓ | |
| Bluesky | - | ✓ | ✓ | ✓ |
const client = new InReelForge({
apiKey: 'your-api-key', // Required
baseUrl: 'https://api.indreelforge.com', // Optional (default)
timeout: 120000, // Optional: request timeout in ms (default: 120s)
});try {
await client.uploadVideo({ ... });
} catch (err) {
if (err.name === 'InReelForgeError') {
console.error(`API Error (${err.status}): ${err.message}`);
}
}MIT