Jump to content
McKay Development

can't confirm a trade offer


Muszek

Recommended Posts

i'm using following code and my confirmation still says "waiting for mobile confirmation"

var SteamCommunity = require('steamcommunity');
var SteamCommunity = new SteamCommunity();
var SteamTotp = require('steam-totp');

var logOnOptions = {
'accountName': "winiar23",
'password': "zaqwsxcde",
'twoFactorCode': SteamTotp.generateAuthCode("XXXXXXXXXXXXXXXXXXXX=") //this line and the comma before it can be removed if you don't have mobile auth enabled, but I'm assuming you do if you plan to trade
};

var s = 'XXXXXXXXXXXXXXXXXXXXXX='; //get this in the intro!

//logs in via browser
SteamCommunity.login(logOnOptions, function(err, sessionID, cookies, steamguard) {
if (err) {
console.log("There was an error logging in! Error details: " + err.message);
process.exit(1); //terminates program
} else {
console.log("Successfully logged in as " + logOnOptions.accountName);
SteamCommunity.chatLogon();
}

SteamCommunity.startConfirmationChecker(12000, s );


});
Link to comment
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.

Guest
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.

Loading...
×
×
  • Create New...