researcher Posted September 28 Report Posted September 28 (edited) Hi there. Is there any way to somehow save login info after once logging into Steam account to use for logging again with node-steam-user? For example like Steam works on browser, you login once and you are logged in for very long time. Like generating some logging info, saving it for later, then passing it to node-steam-user instance and you are logged in without actually authenticating from scratch again. I want to login instantly, like with minimal delay to be able to use node-steam-user normally. Edited September 28 by researcher Quote
Dr. McKay Posted September 29 Report Posted September 29 Yes, this is what refresh tokens are for. Quote
researcher Posted September 30 Author Report Posted September 30 Great. Also, can I use the same refresh tokens to log in with two different instances of steam-user? Quote
researcher Posted October 1 Author Report Posted October 1 Not related but interested. Can I somehow check with your libraries how long I've been friends with someone? I know that I can see that information in the trade window. Quote
Dr. McKay Posted October 1 Report Posted October 1 You can just use ISteamUset/GetFriendList for that. Each friend has a unix time friend_since property. Quote
researcher Posted October 1 Author Report Posted October 1 Should I use normal fetch for this or is there any functionality available that does apiKey embedding under the hood? Thanks. Quote
Dr. McKay Posted October 1 Report Posted October 1 steam-user doesn't do anything with API keys. Quote
researcher Posted October 1 Author Report Posted October 1 Just checked the GetFriendList endpoint out and turns out having friends list on public is a requirement there. I wanted to check my friends only, seems like providing apiKey doesn't authenticate me so I still can't see my own friends 'cause I have it on private. Is there any other way to get friend_since? Quote
researcher Posted October 24 Author Report Posted October 24 Hi there. Is there any simple way to get steam web session? like cookies and session with hitting some web endpoints? The thing is I can't use JS (and node-steam-user) for some reason and only thing I want is just to get the web session. I was wondering if there is any way by communicating to Steam through the web instead of with protocol buffers. Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.