How can I get referral params QR code messenger

507
May 18, 2017, at 2:23 PM

well I use Generator a parametric code QR for my chatbot (messenger). That is my code for that:

function setQRcode() { 
 requestData = { 
  "type": "standard", 
  "data": { 
    "ref":"XXXXXXXXXXX" 
          }, 
  "image_size": 1000 
    } 
    request({ 
     url: "https://graph.facebook.com/v2.6/me/messenger_codes?access_token=" + pageAccessToken, 
        method: "POST", 
        json: requestData 
    }, function (error, response, body) { 
         
            console.log(body.uri)   
    }); 
}

My problem is that I couldn't find how can I get and use the values of my file referral.ref in my app.js ?

Rent Charter Buses Company
READ ALSO
What parts of a modified webpage are retained when returning with the back button?

What parts of a modified webpage are retained when returning with the back button?

I have a page foohtml, which contains input fields and dynamic content

258
printing under then next to

printing under then next to

Every time I run the code it prints the dogs name and then under all of the names then prints the toys, how do I get it so the toys print next to each dogs name? Thank you

306
web push UnauthorizedRegistration error 400

web push UnauthorizedRegistration error 400

I am using web push , for the registration users i am use developersgoogle

529
How to add/delete objects in array?

How to add/delete objects in array?

I work with JavaScript, ES 6 ,React JSThe challenge is to add or delete objects in/from ingredients when the user clicks on button add or delete

359