DLC-EM_exchangebot Posted November 25, 2019 Report Posted November 25, 2019 Is there a way to extract a trade url? Quote
DLC-EM_exchangebot Posted November 25, 2019 Author Report Posted November 25, 2019 from steam-user or trade-offer-manager or steamcommunity modules? Quote
PonyExpress Posted November 25, 2019 Report Posted November 25, 2019 Get your trade offer url: community.getTradeURL((ERR, URL) => { if (ERR) { console.log(ERR); } else { console.log(URL); } }); Get another user's trade offer url - I don’t think it is possible. But you can send a counter offer: The user sends you any trading offer You make a counter offer: manager.on("newOffer", (OFFER) => { let trade = OFFER.counter(); Usage example: << Just send me a trade offer by using this link: https://steamcommunity.com/tradeoffer/new/?for_tradingcard=470480_10&partner=192485611&token=Fj1qrxzG . In a few seconds, you will have a new trade offer from me. >> You will not be able to inform the user about the error if he is not in the list of your friends. For this test to work you must have 10-20 cards, public profile, public inventory etc. Otherwise, you will not receive any response. DLC-EM_exchangebot 1 Quote
DLC-EM_exchangebot Posted November 27, 2019 Author Report Posted November 27, 2019 Thanks for this. Was browsing trade-offer-manager thinking this was there 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.