Jump to content
McKay Development

The manager dosent seems to be working


Recommended Posts

this.steamTradeofferManager = new steamTradeofferManager({
        domain: "localhost",
        language: "en",
        community: this.steamcommunity,
        pollInterval: steamTradeofferManagerPollInterval,
        useAccessToken: true
    });

 

you need to add this to constructor useAccessToken: true

Link to comment
Share on other sites

3 hours ago, loganWP said:
this.steamTradeofferManager = new steamTradeofferManager({
        domain: "localhost",
        language: "en",
        community: this.steamcommunity,
        pollInterval: steamTradeofferManagerPollInterval,
        useAccessToken: true
    });

 

you need to add this to constructor useAccessToken: true

yo man thank u very much u sve me a lot of hassle how u found this tho?

5 minutes ago, TheMaster said:

yo man thank u very much u sve me a lot of hassle how u found this tho?

but when i use this the webapi is null its not getting the webapi correctly

 

    client.on('webSession', async (sessionID, cookies) => {
        manager.setCookies(cookies, function(err) {
            if (err) {
                console.log(red,err);
                process.exit(1); // Fatal error since we couldn't get our API key
                return;
            }
            console.log(green,"Got API key: " + manager.apiKey);
            webapi=manager.apiKey
            //fetchActiveTradeOffers(); // Call the function
        }
        );
 
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...