Muszek Posted April 9, 2016 Report Posted April 9, 2016 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 ); }); Quote
Mole Posted April 10, 2016 Report Posted April 10, 2016 What;s the message you see in the terminal window? Quote
Muszek Posted April 10, 2016 Author Report Posted April 10, 2016 Successfully logged in as nickname Quote
cookie Posted April 10, 2016 Report Posted April 10, 2016 Not sure why i believe your code is ripped off from someone else Quote
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.