Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add Clips Upload #1718

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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