tambu22
tambu22
you can add a console.log($confirmation); to see all the info. Anyways i think nothing is usefull :)
yes but why the cookies turn invalid? how can i get new cookies?
Adding my code: ``` function aceptMobile() { try { var steamcommunityMobileConfirmations = new SteamcommunityMobileConfirmations( { steamid: 'steamID', identity_secret: 'ISecret', device_id: 'deviceID', webCookie: COOKIE, }); steamcommunityMobileConfirmations.FetchConfirmations((function (err, confirmations) { if (err)...
its the same after that i cant get any new confirmations or load offers
use random device id.
``` var hash = require('crypto').createHash('sha1'); hash.update(Math.random().toString()); hash = hash.digest('hex'); device_id = 'android:' + hash; ```
you will need to edit the code of the repo, you can check mi pull request to see how to get the OfferId https://github.com/GaletskyIvan/steamcommunity-mobile-confirmations/pull/31