Skip to content

Conversation

@preaverage
Copy link

@preaverage preaverage commented Dec 7, 2023

I added the ability to fetch instagram reels (clips) with the graphql API and jsdom to get a needed header called fb_dtsg. The first two commits have been voided and are made up into the third.

How to get the clips timeline:

const feed = client.feed.clipsFeed();
const items = await feed.items();
const isMoreAvailable = feed.isMoreAvailable();

How to upload clips:

await client.publish.video({
  coverImage,
  video,
  isClipVideo: true,
});

@preaverage preaverage changed the title Added clips timeline and clip upload support. FEATURE: Added clips timeline and clip upload support. Dec 7, 2023
@lockieluke
Copy link

what's preventing this from being merged?

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.

2 participants