Jump to content


Photo

So I have this almost working I think


  • Please log in to reply
3 replies to this topic

#1 duk

duk

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 11 December 2018 - 09:22 PM

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-community

and 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());
 
});
});


#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,038 posts

Posted 12 December 2018 - 01:09 AM

Why not use node-steam-user?



#3 duk

duk

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 15 December 2018 - 10:28 AM

Why not use node-steam-user?

Does it have an option for addfreelicense?



#4 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,038 posts

Posted 15 December 2018 - 09:09 PM

https://github.com/D...appids-callback






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users