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: Added clips timeline and clip upload support. #1742

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

preayham
Copy link

@preayham preayham 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,
});

@preayham preayham 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