Skip to content

feature: Add Clips Upload#1718

Open
azkanahyaa wants to merge 1 commit into
dilame:masterfrom
azkanahyaa:master
Open

feature: Add Clips Upload#1718
azkanahyaa wants to merge 1 commit into
dilame:masterfrom
azkanahyaa:master

Conversation

@azkanahyaa

@azkanahyaa azkanahyaa commented Aug 1, 2023

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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

NickCis commented Nov 29, 2023

Copy link
Copy Markdown

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