Jump to content
McKay Development

When i am using offer.make offer function i am getting this error


dilipsoni

Recommended Posts

When i am using offer.make offer function var offer = { 

  partnerAccountId: 76561198361006906,
  accessToken: "F8Rnh10I",
  itemsFromThem: [{
   appid: 730,
   contextid: 2,
   amount: 1,
   assetid: "9710052624"
  }],
  itemsFromMe: [],
  message: "Hello! Checkout what I'm offering You ;)"
};
offers.makeOffer(offer, 
  function(err, result){ // 2. callback function that will handle result of makeOffer
   if (err) {
                                         
      console.log(err);
  
                                                //return;
            }
    console.log(result);
  });  
 
i am getting error   this._requestCommunity.get(requestParams, function(error, response, body) {
                        ^
 
TypeError: Cannot read property 'get' of undefined like this how can i solve this ? any solution for this ??
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...