dialogflow-fulfillment-nodejs icon indicating copy to clipboard operation
dialogflow-fulfillment-nodejs copied to clipboard

In-intent quick replies not working for facebook

Open jerry-s3739 opened this issue 5 years ago • 21 comments

My bot stopped showing quick replies on messenger which I showed using inside intent response. Now I am using payload to show quick replies buttons.

jerry-s3739 avatar Aug 03 '20 00:08 jerry-s3739

Same problem with me. My messenger bot was working perfectly but now it doesn't send quick replies. Any coder written after Suggestion doesn't get sent to messenger

AHMED3T avatar Aug 24 '20 10:08 AHMED3T

Yup this happens on me too, I thought the integration should be fairly straight forward but it wasn't, nothing get sent with agent.add(new Suggestion()) for facebook messenger.

TedLLH avatar Oct 29 '20 03:10 TedLLH

This is happening with me too. I tried to agent.add(new suggestion) & custom payload but nothing is showing on facebook messanger. I can only see image there. I can not see any buttons & quick replies. I saw youtube videos but for them it was working.

Did you all try custom payload for quick replies? Was it working for you all on facebook messanger?

mauli9530 avatar Dec 30 '20 19:12 mauli9530

I'm stuck with the same issue. Anyone who got the solution? Need it urgently. Please help.

abhishekgupta-99 avatar Jun 10 '21 12:06 abhishekgupta-99

We need to send quick replies json from fulfilment. New Suggestion is not working anymore.

On Thu, 10 Jun, 2021, 6:11 pm abhishekgupta-99, @.***> wrote:

I'm stuck with the same issue. Anyone who got the solution? Need it urgently. Please help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858587441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYIG72MXES4OQOQG3VDTSCXIPANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 14:06 jerry-s3739

Can you please explain it more? With some code snippet or example. I'll be really thankful. I did try custom payloads and a lot of workaround but to no avail.

abhishekgupta-99 avatar Jun 10 '21 15:06 abhishekgupta-99

Require "Payload" from "dialogflow-fullfillment".

Try this.

agent.add(new Payload(agent.FACEBOOK,{

"text": "Welcome to my agent!",
"quick_replies": [
  {
    "title": "reply 1",
    "content_type": "text",
    "payload": "reply1"
  }
]

}));

On Thu, 10 Jun, 2021, 8:30 pm abhishekgupta-99, @.***> wrote:

Can you please explain it more? With some code snippet or example. I'll be really thankful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858698023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYLZSDFXK4MWO3K5F43TSDHRVANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 16:06 jerry-s3739

Require "Payload" from "dialogflow-fullfillment". Try this. agent.add(new Payload(agent.FACEBOOK,{ "text": "Welcome to my agent!", "quick_replies": [ { "title": "reply 1", "content_type": "text", "payload": "reply1" } ] })); On Thu, 10 Jun, 2021, 8:30 pm abhishekgupta-99, @.***> wrote: Can you please explain it more? With some code snippet or example. I'll be really thankful. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#310 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYLZSDFXK4MWO3K5F43TSDHRVANCNFSM4PS2UN7A .

Did this work for you? I tried this though but didn't work.

abhishekgupta-99 avatar Jun 10 '21 16:06 abhishekgupta-99

If you are using direct integration then it's not working. It only works if you are using middleware like Respond.io.

On Thu, Jun 10, 2021 at 9:57 PM abhishekgupta-99 @.***> wrote:

Require "Payload" from "dialogflow-fullfillment". Try this. agent.add(new Payload(agent.FACEBOOK,{ "text": "Welcome to my agent!", "quick_replies": [ { "title": "reply 1", "content_type": "text", "payload": "reply1" } ] })); … <#m_7197606988010237081_> On Thu, 10 Jun, 2021, 8:30 pm abhishekgupta-99, @.***> wrote: Can you please explain it more? With some code snippet or example. I'll be really thankful. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#310 (comment) https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858698023>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYLZSDFXK4MWO3K5F43TSDHRVANCNFSM4PS2UN7A .

Did this work for you? I tried this though but didn't work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858766499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYPA2TWMFF7SHCHDFNLTSDRWJANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 18:06 jerry-s3739

Thanks for guiding me. I'm glad, you replied. Any documentation or blog you would like me to refer? It's kinda urgent.

abhishekgupta-99 avatar Jun 10 '21 18:06 abhishekgupta-99

Well, in-intent custom payload is working in direct integration as well.

On Fri, 11 Jun, 2021, 12:09 am abhishekgupta-99, @.***> wrote:

Thanks for guiding me. I'm glad, you replied. Any documentation or blog you would like me to refer? It's kinda urgent.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858892431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYIVKKJFICOR7VAUHZTTSEBHPANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 18:06 jerry-s3739

Yeah, it's working in intent custom payload. But in my use-case, I want to dynamically send suggestion chips or buttons to the facebook messenger user using Dialogflow fulfillment. Any hack or alternate in your mind.

abhishekgupta-99 avatar Jun 10 '21 18:06 abhishekgupta-99

Need to think about it. Its depend on your use case. Please tell me your use case personally so I can try it on my end as well.

On Fri, 11 Jun, 2021, 12:16 am abhishekgupta-99, @.***> wrote:

Yeah, it's working in intent custom payload. But in my use-case, I want to dynamically send suggestion chips or buttons to the facebook messenger user using Dialogflow fulfillment. Any hack or alternate in your mind.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858900175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYK3JJX5P6EUB6XZNQDTSEB6TANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 19:06 jerry-s3739

Can I have your email id? Thanks in advance

abhishekgupta-99 avatar Jun 10 '21 19:06 abhishekgupta-99

Sure, here it is. @.***

On Fri, 11 Jun, 2021, 12:55 am abhishekgupta-99, @.***> wrote:

Can I have your email id? Thanks in advance

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858951174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYOYGRAMYZXNOD5F22LTSEGQZANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 19:06 jerry-s3739

It's not readable. I guess you can't share your email id here. What I can see is @.***

abhishekgupta-99 avatar Jun 10 '21 19:06 abhishekgupta-99

Try this "pranav{dot}rathi{put at}axlewebtech {dot}com

On Fri, 11 Jun, 2021, 1:01 am abhishekgupta-99, @.***> wrote:

It's not readable. I guess you can't share your email id here. What I can see is @.***

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-858960286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYNTDPKBAAMDYJLVCH3TSEHJDANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 19:06 jerry-s3739

Yeah, it's working in intent custom payload. But in my use-case, I want to dynamically send suggestion chips or buttons to the facebook messenger user using Dialogflow fulfillment. Any hack or alternate in your mind.

Hey abhishek,

I had the same issue as you have right now. I had this kind of usecase and i had to send quick replies dynamically through dialogflow fulfillment. My issue got solved. And i have saved that code. If you want i can send you that whole code. Let me know if you want it.

mauli95 avatar Jun 10 '21 22:06 mauli95

Yes, please do. Please send it to me.

On Fri, 11 Jun, 2021, 3:31 am mauli95, @.***> wrote:

Yeah, it's working in intent custom payload. But in my use-case, I want to dynamically send suggestion chips or buttons to the facebook messenger user using Dialogflow fulfillment. Any hack or alternate in your mind.

Hey abhishek,

I had the same issue as you have right now. I had this kind of usecase and i had to send quick replies dynamically through dialogflow fulfillment. My issue got solved. And i have saved that code. If you want i can send you that whole code. Let me know if you want it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/310#issuecomment-859107953, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2CTYOKQJAYBTNOLH4QBTTTSEY2ZANCNFSM4PS2UN7A .

jerry-s3739 avatar Jun 10 '21 23:06 jerry-s3739

Yeah, it's working in intent custom payload. But in my use-case, I want to dynamically send suggestion chips or buttons to the facebook messenger user using Dialogflow fulfillment. Any hack or alternate in your mind.

Hey abhishek,

I had the same issue as you have right now. I had this kind of usecase and i had to send quick replies dynamically through dialogflow fulfillment. My issue got solved. And i have saved that code. If you want i can send you that whole code. Let me know if you want it.

Yes, please do. Thanks in advance. abhishekgupta97023{at the rate} gmail {dot} com

abhishekgupta-99 avatar Jun 11 '21 05:06 abhishekgupta-99

Yeah, it's working in intent custom payload. But in my use-case, I want to dynamically send suggestion chips or buttons to the facebook messenger user using Dialogflow fulfillment. Any hack or alternate in your mind.

Hey abhishek,

I had the same issue as you have right now. I had this kind of usecase and i had to send quick replies dynamically through dialogflow fulfillment. My issue got solved. And i have saved that code. If you want i can send you that whole code. Let me know if you want it.

Please send it to me too.

AutInD avatar Mar 15 '22 19:03 AutInD