Jump to content
McKay Development

Recommended Posts

I've cookies array like this:


I get an error "not logged in" when I try to log in trade offer manager through cookies using setCookies method. I take cookies a minute before using setCookies method
Can someone explain why i get an error?

Link to post
Share on other sites

var cookies = db_data.cookies.split(","); // cookies in db stored as string
var steam_community = new SteamCommunity();
var offer_manager = new TradeOfferManager({
"community": steam_community

offer_manager.setCookies(cookies, function(err) {
if (err) {
console.log("Got API key: " + offer_manager.apiKey);


Link to post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...