OmG3r Posted April 16, 2018 Report Share Posted April 16, 2018 I was trying to send a steam offer using a different language and I ported your code "http://github.com/DoctorMcKay/node-steam-tradeoffer-manager/blob/master/lib/classes/TradeOffer.js#L317" while sending my trade offer I receive error 401 and noticed that you intercept such error code and print that your are not logged in if such error occurs, I'd like to ask what is the cause of this error, and how to avoid it (what cookies are necessary, in my code I loaded all the cookies a person can obtain from logging to "http://steamcommunity.com" ) Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 16, 2018 Report Share Posted April 16, 2018 I believe you only need steamLogin, steamLoginSecure, sessionid, and steamMachineAuth cookies (the latter not being necessary if the cookies were obtained through a CM). Quote Link to comment Share on other sites More sharing options...
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.