Skip to content

Conversation

@azkanahyaa
Copy link

@azkanahyaa azkanahyaa commented Aug 1, 2023

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

@LukasHamstra
Copy link

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

@Ram-Moudgill
Copy link

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

@NickCis
Copy link

NickCis commented Nov 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants