instagram-private-api
instagram-private-api copied to clipboard
feature: Add Clips Upload
I made a simple change to support clip / reels upload. The usage is same as upload video, but simply add param isClip to true
const publishResult = await ig.publish.video({
// read the file into a Buffer
video: video,
coverImage: cover,
isClip: true,
// i also add option to preview the clips in feed or not
clipsPreviewToFeed: true
})
I don't know if I can help out in any way to get this through, but I would love this feature 👍
hey can u help me with this i am using the following code const publishResult = await ig.publish.video({ video: videoBuffer, coverImage: savedFileData, isClip: true, clipsPreviewToFeed: true, caption, }); it is working but original audio is not showing as u can see in the images below
Do you know what's the expected video format? And what are the restrictions (length, weight, etc) for the file?