instagram-web-api icon indicating copy to clipboard operation
instagram-web-api copied to clipboard

error while split html

Open kiranharapradipta-gh opened this issue 1 year ago • 3 comments

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) })

kiranharapradipta-gh avatar Apr 04 '24 07:04 kiranharapradipta-gh

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

zailio avatar Sep 11 '24 18:09 zailio

same issue

/Projects/node_modules/instagram-web-api/lib/index.js:110 html => html.split('window._sharedData = ')[1].split(';')[0] ^

TypeError: Cannot read properties of undefined (reading 'split') at /Projects/node_modules/instagram-web-api/lib/index.js:110:55 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

NurAlan avatar Jan 16 '25 02:01 NurAlan

Same

qNanna avatar Nov 15 '25 13:11 qNanna