noook / igdm-cli

Send and receive Instagram DMs within command line

Home Page:https://www.npmjs.com/package/igdm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sessions file is not read (?)

LukeCageCodes opened this issue · comments

Hi @noook - thanks for putting this together, very cool.

When I relaunch the application, I am asked for the password again. The sessions file (session.json) has been written/updated, but it doesn't seem to make any difference.

(I'm on Ubuntu - in case that makes a difference.)

Hello, I indeed noticed this, it seems to be related to the scope the script is able to read/write when installed globally, if you have any lead feel free to suggest / report here the problem !

Hi @noook - On Linux, when the script is installed with sudo into a systems directory, then the session.json isn't writable (if igdm is not run with sudo).

However, I've installed the application via git, to be able to tinker. It still doesn't pick up the session.json, although it's writable. I'll see whether I can figure out the problem in more detail.