dilame / instagram-private-api

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

Tracking new posts from public instagram account. #1516

Open RasmonT opened 3 years ago

RasmonT commented 3 years ago

Hello there!

I'm trying to make instagram bot that will track new posts from the public instagram account, then i want to send the link of the post the discord... So i will need to get update from instagram account once it posts new post.. then i need get shortcode of new IG post from it, so I can excute discord code.

Is this library capable of this? If yes, how should i start? I tried many also different libs but wasn't able to make it work...

Thanks in advance.

Nerixyz commented 3 years ago

So i will need to get update from instagram account once it posts new post

This is the only thing that's not straight forward with this library and instagram in a whole. You can't get updates from instagram reliably. There's FBNS (#845) but even this is unreliable. You might want to poll the user's feed (but this is rate-limited).

how should i start?

Start by looking at the examples and documentation. Once #1512 lands, the docs will be a lot better.

RasmonT commented 3 years ago

So i will need to get update from instagram account once it posts new post

This is the only thing that's not straight forward with this library and instagram in a whole. You can't get updates from instagram reliably. There's FBNS (#845) but even this is unreliable. You might want to poll the user's feed (but this is rate-limited).

how should i start?

Start by looking at the examples and documentation. Once #1512 lands, the docs will be a lot better.

How limited it is ? If you know of course... from the docs, I'm kinda confused how this works, do I need authenticate a account or not?

Kind regards.

Nerixyz commented 3 years ago

How limited it is ?

FBNS is not reliable in the sense that some notifications might never get sent.

do I need authenticate a account or not?

Yes, since it's emulating the app.