Zorenko Posted April 20, 2019 Report Share Posted April 20, 2019 How to get all the skins of their exchange, then to create an exchange with the same skins? let offer = manager.createOffer("https://steamcommunity.com/tradeoffer/new/?partner=149081977&token=Cb2UfEHh"); offer.addMyItems(???????????); offer.send(function(err, status) Quote Link to comment Share on other sites More sharing options...
SnaBe Posted April 21, 2019 Report Share Posted April 21, 2019 You could create a loop that goes trough you and your partners inventory, if it finds any items that both users own, add them to an array. The array of items can then be parsed to offer.addMyItems(); & offer.addTheirItems(); 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.