This code gets error if I try to send this custom payload using a loop. Like I want to send five cards to FB messenger using a for loop. It gets "Payload response for PLATFORM_UNSPECIFIED already defined" . Do you have any solution???
At the beginning when I want to execute 'code .' it marks me that it is not recognized and I get this "code : The term 'code' is not recognized as the name of a cmdlet, function, script file or executable program. Check if you typed the name correctly or, if you included a path, check that the path is correct and try again".
I must say. Normally I don't find many of the programming videos useful from india because the programming structure and videos mostly are extremely messy. Mate I really enjoyed your video. Please keep speaking so calm as you do don't try like so many other people to sound like they are perfect at english by speaking fast. Do you have portfolio?
Hi bro if I fetch data from database and send to dailogflow on that time request time is out why so that like ...is there is any way to wait webhook call till data fetch from database
Hello bro, thank you very much for this video, you saved my life with cutstom payload. But i have question, how do you make custom payload for Facebook ? I've been stuck on this for several days.
Hey bro, turn on node index.js it will start server node. After do you apply run ngrok http 3000, warning note, use the same port of node JS. To you test it go on your postaman and test to you see how it working, it to me was ok.
@@RohitSaini1196 one more question, ap code provide kr skatay han? Actually mera fyp ha,mjhe koi help krne wala nhi mil raha apki video bht acho hai,bs screen se samjhne me mushkil ho rhi hai.. aagar ap help kr saken
@@owususamuel Thank you very much. I am new to this topic...can pls tell me where I did this wrong?. Thank you..and sorry for disturbing you...I can't solve it somehow.. const express = require('express'); const app = express(); const dfff = require('dialogflow-fulfillment'); app.get('/', (req, res)=>{ res.send("We are live") }); app.post('/', express.json(), (req, res)=>{ const agent = new dfff.WebhookClient({ request:req, response:res }); function demo(agent){ agent.add("Response from webhook"); } var intentMap = new Map(); intentMap.set('webhookDemo', demo) agent.handleRequest(intentMap); }); app.listen(3333, ()=>console.log("Server is live at 3333"));