duk Posted December 12, 2018 Report Share Posted December 12, 2018 Trying to add free license through this and running into one issue. It runs the request and poof NOTHING. I login like usually with steam-communityand here is what I run var self = community; community.httpRequestPost({"uri": "https://store.steampowered.com/account/licenses/", "followRedirect": true }, function(err, response, body) { self.httpRequestPost({ "uri": "https://store.steampowered.com/checkout/addfreelicense/", "data": { "action": "add_to_cart", "g_sessionID": community.getSessionID(), "subid": "20017", }, }); console.log(community.getSessionID()); }); }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted December 12, 2018 Report Share Posted December 12, 2018 Why not use node-steam-user? Quote Link to comment Share on other sites More sharing options...
duk Posted December 15, 2018 Author Report Share Posted December 15, 2018 Why not use node-steam-user?Does it have an option for addfreelicense? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted December 16, 2018 Report Share Posted December 16, 2018 https://github.com/DoctorMcKay/node-steam-user#requestfreelicenseappids-callback 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.