mifi / instauto

Instagram bot / automation library written in Javascript for Node.js
808 stars 145 forks source link

SyntaxError: Unexpected token o in JSON at position 1 #90

Closed doge0007 closed 2 years ago

doge0007 commented 2 years ago

Hello, I have recently started using instaauto to manage my instagram networks and this error has started to appear and the window closes. I would appreciate your help.

SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse () at getPageJson (D:\iNSTAbOT\node_modules\instauto\index.js:220:17) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async navigateToUserAndGetData (D:\iNSTAbOT\node_modules\instauto\index.js:231:20) at async Instauto (D:\iNSTAbOT\node_modules\instauto\index.js:937:22) at async D:\iNSTAbOT\node_modules\instauto\example.js:69:22 Closing browser

@mifi

mifi commented 2 years ago

maybe you can try to see what is showing in the page. also does it happen on all accounts?

mifi commented 2 years ago

looks like the same issue as https://github.com/mifi/SimpleInstaBot/issues/125

doge0007 commented 2 years ago

@mifi It happens to me only in this account that has started to stop following. I have also tried with the simpleinstabot app and without result.

mifi commented 2 years ago

this should now be fixed