instagram-private-api icon indicating copy to clipboard operation
instagram-private-api copied to clipboard

feature: Add Clips Upload

Open azkanahyaa opened this issue 2 years ago • 3 comments

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
})

azkanahyaa avatar Aug 01 '23 09:08 azkanahyaa

I don't know if I can help out in any way to get this through, but I would love this feature 👍

LukasHamstra avatar Aug 17 '23 15:08 LukasHamstra

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

IMG_2542 IMG_2543

Ram-Moudgill avatar Nov 28 '23 06:11 Ram-Moudgill

Do you know what's the expected video format? And what are the restrictions (length, weight, etc) for the file?

NickCis avatar Nov 29 '23 18:11 NickCis