dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.95k stars 1.14k forks source link

Get Reels (aka Clips) #1308

Open chiragshah1312 opened 3 years ago

chiragshah1312 commented 3 years ago

Feature Request

How to get reels (clips)?

Nerixyz commented 3 years ago

I've converted this issue to a feature request, as there's no feed for the Clips (reels). You're probably confused by the naming of these things, so let me simplify if for you:

External Name Internal Name
Stories (I think it actually refers to the items of a story) Reels
Reels Clips
dixakman commented 3 years ago

I've converted this issue to a feature request, as there's no feed for the Clips (reels). You're probably confused by the naming of these things, so let me simplify if for you:

External Name Internal Name Stories (I think it actually refers to the items of a story) Reels Reels Clips

Send example plz

Nerixyz commented 3 years ago

Send example plz

There is no example. That's why this is a feature request.

dixakman commented 3 years ago

Send example plz

There is no example. That's why this is a feature request.

That is, you can't get the clips? Do you know how to get clips ( reels)?

Nerixyz commented 3 years ago

That is, you can't get the clips? Do you know how to get clips ( reels)?

There's an endpoint on instagram but I don't remember it. It's not in this library.

If you know it you can open a PR.

dixakman commented 3 years ago

That is, you can't get the clips? Do you know how to get clips ( reels)?

There's an endpoint on instagram but I don't remember it. It's not in this library.

If you know it you can open a PR.

very sorry! (

martymfly commented 2 years ago

The endpoint for the reels clips is https://i.instagram.com/api/v1/clips/user/ request body takes parameteres _uuid and target_user_id for the initial request then max_id added for the next pages.

NickCis commented 2 years ago

I've implemented the clips (aka reels) feed following @martymfly information in #1636 .

Yontih commented 1 year ago

@Nerixyz Hi, is the clips explore feed endpoint is known by now?

NickCis commented 1 year ago

@Nerixyz Hi, is the clips explore feed endpoint is known by now?

I really don't know, but, I don't believe that this library is maintained any more. Although my PR was approved, it was never merged, and if you check commits, the last commit that is code related is from more than a year ago (feb 2022). I believe that the only oss maintained project is instagrapi which is written in python. You should check if that library supports the feature you want and in case you strongly need something written for nodejs you could port it. If you check my pr (#1636 ) adding a feed isn't that hard.

Yontih commented 1 year ago

@NickCis Yes I saw your pr but this is not what I've meant, I'm looking for the explore reels feed not a specific user reels. @Nerixyz did you found out what is the endpoint?

Nerixyz commented 1 year ago

@Nerixyz did you found out what is the endpoint?

You can find it in https://github.com/dilame/instagram-private-api/pull/1636.

Yontih commented 1 year ago

@Nerixyz Thank you for the response but I was referencing to the reels feed in the home page of the app. You called it ClipsExploreFeed in your comment here.

Nerixyz commented 1 year ago

I was referencing to the reels feed in the home page of the app.

Sorry, my bad. I don't know the endpoint right now, but it should be pretty simple to find it.

Yontih commented 1 year ago

@Nerixyz How can I find it? BTW, can we chat in telegram/discord or something like that?

Nerixyz commented 1 year ago

@Nerixyz How can I find it?

Either by MITM-ing requests of the app, or by looking at other projects.

BTW, can we chat in telegram/discord or something like that?

I don't do (much) stuff with Instagram anymore, so I'm sorry, I can't help you.

Yontih commented 1 year ago

@Nerixyz Thank you for your answers.

Yontih commented 1 year ago

@NickCis Hi, how did you find the clips user endpoint?

NickCis commented 10 months ago

@NickCis Hi, how did you find the clips user endpoint?

As I explained before, I followed @martymfly 's comment in this thread. I have also checked instagrapi's code.