ggforces Posted March 13, 2023 Report Share Posted March 13, 2023 const SteamCommunity = require('steamcommunity'); const SteamTOTP = require('steam-totp'); const community = new SteamCommunity(); const identitySecret = "identity key"; // Steam Guard Mobile Authenticator uygulamasında görüntülenen 32 karakterli identity_secret anahtarı community.login({ "accountName": "id", "password": "pw", "twoFactorCode": SteamTOTP.generateAuthCode("shared secret key") }, (err, sessionID, cookies) => { if (err) { console.log(err); } else { console.log("Logged in"); community.getConfirmations((err, confirmations) => { if (err) { console.log(err); } else { const confirmationIDs = confirmations.map(confirmation => confirmation.id); const confirmationKeys = confirmations.map(confirmation => confirmation.key); community.confirmAllConfirmations(sessionID, identitySecret, confirmationIDs, confirmationKeys, (err) => { if (err) { console.log(err); } else { console.log("All confirmations completed"); } }); } }); } }); I got "Unknown Error" but why? idk, can u help me? 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.