jlobos / instagram-web-api

🤳 Instagram Private Web API client for Node
https://npmjs.com/instagram-web-api
MIT License
1.12k stars 185 forks source link

error while split html #309

Open kiranharapradipta-gh opened 6 months ago

kiranharapradipta-gh commented 6 months ago

html => html.split('window._sharedData = ')[1].split(';')[0] ^

TypeError: Cannot read properties of undefined (reading 'split') at C:\Users\kiran\code\instagram-web-api\node_modules\instagram-web-api\lib\index.js:109:55 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Instagram.login (C:\Users\kiran\code\instagram-web-api\node_modules\instagram-web-api\lib\index.js:100:26)

Node.js v20.11.0

i just do it

client.login().then(_ => { console.log('Logged in!') client.getProfile().then(console.log) })

I-NRL commented 2 weeks ago

Ig bulk account creater tool available, dm me for more info,

Custom proxy, Temp mail, Web api Follow/unfollow Bio, profile icon change,

auto comment, like, unlike and more