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

IgCookieNotFoundError: Cookie "sessionid" not found #25

Closed Debanjan-San closed 4 months ago

Debanjan-San commented 5 months ago

IgCookieNotFoundError: Cookie "sessionid" not found at State.extractCookieValue (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram-private-api/dist/core/state.js:153:19) at RealtimeClient.constructConnection (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/realtime/realtime.client.js:44:53) at MQTToTClient.payloadProvider [as connectPayloadProvider] (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/realtime/realtime.client.js:94:22) at MQTToTClient.connect (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/mqttot/mqttot.client.js:52:42) at /home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/realtime/realtime.client.js:137:18 at new Promise () at RealtimeClient.connect (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/realtime/realtime.client.js:126:16) at RealtimeClient.wrapper (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/realtime/mixins/mixin.js:24:35) at RealtimeClient.wrapper (/home/dasabae/Desktop/InstaGram-Bot /node_modules/instagram_mqtt/dist/realtime/mixins/mixin.js:24:35) at Client.login (/home/dasabae/Desktop/InstaGram-Bot /node_modules/node-ig-framework/src/structures/Client.js:382:25)

alexlgrs commented 5 months ago

did u find a solution ? i'm facing the same error with a bot that was working some months ago

Debanjan-San commented 5 months ago

did u find a solution ? i'm facing the same error with a bot that was working some months ago

ya this error is happning because of some codebug in the cookey finder in the package instagram_mqtt. i have fixed it just use my fork until they fix their https://github.com/Debanjan-San/node-ig-framework.git

9xN commented 5 months ago

you should make a pull request directing to your updated fork of the mqtt client

Debanjan-San commented 5 months ago

you should make a pull request directing to your updated fork of the mqtt client

Okay

https://github.com/Nerixyz/instagram_mqtt/pull/116

9xN commented 4 months ago

@Debanjan-San I would like to modify the package.json file to include your patched mqtt client for this library, I will run further testing but will you be somewhat maintaining the https://www.npmjs.com/package/node_instagram_mqtt library?

Debanjan-San commented 4 months ago

@Debanjan-San I would like to modify the package.json file to include your patched mgtt client for this library, I will run further testing but will you be somewhat maintaining the https://www.npmjs.com/package/node_instagram_mqtt library?

Ya I am kind of maintaining it. Here is the package https://www.npmjs.com/package/node_instagram_mqtt

44xo commented 4 months ago

@Debanjan-San this is my alt but I am trying to get in contact with all of the other package managers and repo owners to push some much needed updates, this project should be improved and fully operational soon.

44xo commented 4 months ago

also your changes were merged into the instagram mqtt repo and the npm package was updated so I will be switching back to using that package for now unless something changes