threads-web-client icon indicating copy to clipboard operation
threads-web-client copied to clipboard

Multi account

Open thisisdice opened this issue 2 years ago • 4 comments

I think multi account would be a game changer. There is currently no native way to manage more than 1 threads account in a device yet many of has have multiple IG’s.

thisisdice avatar Jul 10 '23 06:07 thisisdice

Great idea! I need to be sure the other functions work though before I do account switching, but it should easily be possible by storing the various account IDs (perhaps localStorage) and then rotating out the token cookie so that the app knows to return data associated with that account.

stevenlafl avatar Jul 10 '23 06:07 stevenlafl

Yea I’ve put some together regarding session storage and retrieval hopefully push it this evening gmt If someone hasn’t got there already. This coupled with optional proxy support 😅🤓

thisisdice avatar Jul 10 '23 06:07 thisisdice

Perfect, I'll check it out when you're done and approve.

stevenlafl avatar Jul 10 '23 06:07 stevenlafl

Have a gander! I think that’s the bulk of sessions until we get the full auth flow under wraps. https://github.com/threadsjs/threads.js/issues/34#issuecomment-1628351155

thisisdice avatar Jul 10 '23 06:07 thisisdice