Closed GaWr26 closed 4 years ago
could you try it out with quotes ? or escaping ? or quotes and escaping ? :D
i just changed alot, also somethings about session handling, could you update and try again please ? :)
No luck Felix. I have a hyphen(-) in my password and this seems to mess it up. tried single and double quotes and even escaping
Just changed my password to only alphanumeric and still get the same error.
Edit: Deleted my session.json and now it works. So seems it really must be the hyphen in my password...
+1 from me
jinsta -u "*****" -p "*****" -s ./session.json
start running basefeed
(node:2961) UnhandledPromiseRejectionWarning: IgLoginRequiredError: GET /api/v1/direct_v2/ranked_recipients/?mode=raven&query=&show_threads=true - 403 Forbidden; login_required
at Request.handleResponseError (/usr/local/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:90:24)
at Request.send (/usr/local/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:49:28)
(node:2961) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2961) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2961) UnhandledPromiseRejectionWarning: IgLoginRequiredError: POST /api/v1/feed/timeline/ - 403 Forbidden; login_required
at Request.handleResponseError (/usr/local/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:90:24)
at Request.send (/usr/local/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:49:28)
(node:2961) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
In my username with the special characters "_", maybe this?
i am currently changing the code so you can import the package and hard code the username / pw in your own nodejs file... that way we can determine where the error is :) maybe its the cli parser... i dont know yet :D
try update :)
npm update -g jinsta
i fixed it now ! had the same problem on my machine and it works now :)
but if its still not working, could you try out the advanced configuration option and make a new issue ? cause this will be interesting then !
Same error her :( how do i fix it? not even working w advanced configuration
❯ jinsta -u **** -p **** -w ./jinsta_data
info: session expired, going for relogin
info: starting with timeline feed
(node:25884) UnhandledPromiseRejectionWarning: IgLoginRequiredError: GET /api/v1/media/blocked/ - 403 Forbidden; login_required
at Request.handleResponseError (/home/imkimchi/.nvm/versions/node/v11.13.0/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:93:24)
at Request.send (/home/imkimchi/.nvm/versions/node/v11.13.0/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:49:28)
(node:25884) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:25884) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:25884) UnhandledPromiseRejectionWarning: IgLoginRequiredError: POST /api/v1/feed/timeline/ - 403 Forbidden; login_required
at Request.handleResponseError (/home/imkimchi/.nvm/versions/node/v11.13.0/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:93:24)
at Request.send (/home/imkimchi/.nvm/versions/node/v11.13.0/lib/node_modules/jinsta/node_modules/instagram-private-api/dist/core/request.js:49:28)
(node:25884) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Must have something to do with the special characters in my password. It replaces it with something from crontab. Maybe some quotes around the password might help?