Nerixyz / instagram_mqtt

Realtime and Push Notification (FBNS) support for the instagram-private-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

loveyandex opened this issue · comments

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