9xN / node-ig-framework

Framework for interacting with instagrams private api in a usable manner in a structure and format similar to discord's old bot development framework.
GNU Affero General Public License v3.0
25 stars 8 forks source link

Node restarting all the time after install node-ig-framework #20

Closed Matheus-Lima-Moreira closed 7 months ago

Matheus-Lima-Moreira commented 7 months ago

Captura de tela 2024-01-18 155440

I trying to use this lib because insta.js is dead and here apparently we have some fix and people who contribute, but when i install this lib i have a loop of my node backend application restarting, does anyone know why?

Matheus-Lima-Moreira commented 7 months ago

I commented the following line in Client.js and it worked:

Captura de tela 2024-01-18 165830

Matheus-Lima-Moreira commented 7 months ago

Does anyone know what this line is for? From what I understand, is it to save a cache of the Client state? Can we make this dynamic by some parameter?

9xN commented 7 months ago

Does anyone know what this line is for? From what I understand, is it to save a cache of the Client state? Can we make this dynamic by some parameter?

I have no idea anymore I have not worked on this project in a while since instagram had a major re-haul of their api once again breaking lots of features. If you want to look into this further and work on a solution or implement a dynamic alternative be my guest I will gladly accept pull requests