Questions tagged [facebook-chatbot]

Chatbots provide personalized, interactive communication akin to talking to a human customer service or sales representative, but at a bigger scale and cheaper than call centers.

Setup

For this integration, you will need the following:

  • Facebook App: The Facebook App contains the settings. This is where you will set up your webhook, retrieve your page access token and submit your app for approval.

  • Facebook Page: A Facebook Page will be used as the identity of your bot. When people chat with your bot, they will see the Page name and the Page profile picture.

  • Webhook URL: We use secure callbacks in order to send you messaging events. These will be sent to your webhook.

Complete Guide

336 questions
3
votes
3 answers

Facebook Chat bot (PHP webhook) sending multiple replies

My Facebook chat bot is working but it's sending back multiple messages after my initial message to it. This is my webhook script (i appreciate it's a very rough working example): $challenge = $_REQUEST['hub_challenge']; $verify_token =…
2
votes
1 answer

How to change end point url in ibm watson with facebook chat bot

The watsonplatform.net endpoint URL is retired. Update your code to use the specific watson.cloud.ibm.com URL for your service. I am getting the above error in my facebook chat bot. I have created new API service credentials as per this link …
2
votes
1 answer

How to do a "typing_on" post with pymessenger to FB messenger?

I'm trying to set my chatbot to display a typing bubble before sending the user the response so that it's more human like. I followed the documentation but am still getting instant responses from the bot with no typing bubble. As per the…
Jamerson2
  • 151
  • 5
2
votes
0 answers

Train and test custom dataset in Facebook BlenderBot chatbot

Hope you all are having a good day. I am working on Facebook BlenderBot Chatbot. I want to train and test my custom dataset which is in text file with text, label and episode done fields. I have created my custom dataset and added that task into…
2
votes
1 answer

Facebook bot stopped replying except with cards

I have a chatbot that used to work normally but last week, it stopped answering some people who interacts with it while some people continued normally. Then after two days it went back to answer all of the clients but only with list of cards (no…
M.R.M
  • 540
  • 1
  • 13
  • 30
2
votes
0 answers

How does Dialogflow choose language after receiving a request by Telegram bot?

I have 2 languages in a Dialogflow agent filled with intents and entities. English is chosen as a default language. How is my other language supposed to work? I dont understand why requests in another language marked as "en" in training log. Because…
2
votes
2 answers

dialogflow Webhookclient "request_" property

I am trying to build up a facebook messenger chatbot using Dialogflow. In the dialogflow fulfillment inline editor, I found that I can use agent.request_.body to get the body of the request. I assume "request_" is a property of WebhoodClient object?…
Daniel
  • 23
  • 4
2
votes
0 answers

Chatbot problems

For some reasons i get null pointer errors in the code down. I'm working with a book of examples and trying to make smth mine, but seems like theres a change in java or mistake in book. I'm making a Chatbot(sort of AI) and can't get it working in…
ShaggyZG
  • 39
  • 7
2
votes
0 answers

How to get Facebook account linking event in Dialogflow intent?

I am creating a Facebook chat bot with api.ai (Dialogflow). The intents are working fine and I have done Facebook account linking by creating a Login button in messenger. The account linking is working and the account gets successfully linked. But I…
2
votes
0 answers

Messenger chatbot webview closed event

I am building a bot for messenger that supports webviews, and for some reasons, I have to be notified if the webview is closed (the user closes the webview from the close button or back on android). Does any one knows any way to do it ? I tried so…
2
votes
1 answer

Deploy my messenger chatBot on my online server

I'm working on a facebook messenger chatbot ( dialogFlow and nodejs and ngrok ) and every time i test the chatbot in my local server (pc or mac) run node index.js i run the ngrok proxy server copy the ngrok server url to facebook app So now…
2
votes
1 answer

FB messenger Bot not getting postback payloads

I am developing a facebook chatbot. I am facing a issue which I cannot solve. I am developing this in laravel. Here I cannot get the postback payload. here is my code public function index(Request $request) { if…
Kapil Paul
  • 446
  • 7
  • 22
2
votes
2 answers

Unable to use TriggerAction to match with LUIS intent in Microsoft Bot framework (node.js)

I'm facing an issue whereby unable to use triggerAction to match with luis intent when inside the prompt choice. For my current code, triggerAction will begin the dialog if word(s) keyed by user matches exact statement that I hardcoded such as…
2
votes
1 answer

Chatbot with node.js and python for NLP

I'm actually working on a chatbot project which must talk 2 languages (Dialectic Moroccan and french) , i'm willing to build the bot with node.js and host it in a server and build an NLP with python from scratch then link both of codes . Do you…
2
votes
1 answer

how we can get Page-scoped-id from user id in facebook send api?

Before facebook last update I was using Facebook Send message API by passing user reference parameter and getting recipient id in response. Now the Facebook Send message API not returns recipient_id in the response when we use recipient.user_ref or…