Nerixyz / instagram_mqtt

Realtime and Push Notification (FBNS) support for the instagram-private-api
MIT License
244 stars 49 forks source link

IgCookieNotFoundError: Cookie "sessionid" not found at State.extractCookieValue #117

Open loveyandex opened 2 months ago

loveyandex commented 2 months ago

in node_modules/instagram_mqtt/dist/realtime/realtime.client.js u use


  constructConnection() {
        const userAgent = this.ig.state.appUserAgent;
        const deviceId = this.ig.state.phoneId;
        const password = `sessionid=${this.ig.state.extractCookieValue('sessionid')}`;
ig.state.extractCookieValue("sessionid")
‌IgCookieNotFoundError: Cookie "sessionid" not found

i think sessionid is gone to ig.state.parsedAuthorization.sessionid