Jump to content
McKay Development

Trade URL


DLC-EM_exchangebot

Recommended Posts

Get your trade offer url:

        community.getTradeURL((ERRURL=> {
            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:

  1. The user sends you any trading offer
  2. 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.

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...