All questions related to chatbot development on the Facebook Messenger platform.
Questions tagged [facebook-messenger-bot]
795 questions
0
votes
0 answers
Communicate using chat widget through facebook messenger
I want to make a chat widget which includes functionality that you can chat with messenger and in that instead of redirecting user to messenger window i want to post messages to messenger on behalf of user and webhook of messenger will take care of…

user3846235
- 83
- 1
- 5
0
votes
3 answers
Trigger User Action from Facebook Messenger Bot
I have a working Facebook messenger bot.
From the Messenger app, I would like my bot to trigger the "camera" action (to snap a new picture or video) for the user.
To clarify with a hypothetical context, I would create persistent menu action which…

Frederic Fortier
- 750
- 8
- 21
0
votes
1 answer
wit.ai handling words with or w/out diacritics as synonyms
How to train the bot to recognize words with or without diacritics as synonyms, is this feature enabled? e.g. when I have a word (camera): foťák I would like to be treated as synonym to fotak.
There are cases where diacritics really matters and…

Petr Marek
- 1,381
- 1
- 15
- 31
0
votes
1 answer
Is there a way to identify the "replied to" message with Messenger API
My Messenger bot asks a question:
"What is your favorite color ?"
My webhook receives a reply message:
"Red"
How can the webhook identify what was the question ?
Do I need to store something like the "lastQuestionSent" in the database ?

standac
- 1,027
- 1
- 11
- 26
0
votes
1 answer
Facebook-messenger-bot. How to implement checkboxes?
Please share the experience with how to implement checkboxes in Facebook messenger bot.
There is an idea to change the color of the button by clicking on it. But I have not found a way to edit the buttons.
Thank you in advance for any help.

Ernest Faizullin
- 147
- 9
0
votes
0 answers
Facebook Messenger Bot - Image Attachment without compression
Is there any way to send an image attachment without compression?
I have tried "Upload Photos In HD" on Facebook App Setting but it doesn't work.

Mattia
- 63
- 8
0
votes
1 answer
JavaScript - How to dynamically add to a nested object array
I am trying to make a messenger bot that can create buttons based on a number I enter. The code looks like this:
let messageData = {
"attachment": {
"type": "template",
"payload": {
"template_type": "button",
…

ik_Styx
- 3
- 1
0
votes
2 answers
Facebook messenger weird error
I am trying quick replies for facebook messenger - am getting this error below:
2017-01-22T04:18:40.538348+00:00 app[web.1]: Error: { message: '(#100) Invalid keys "message" were found in param "message".',
2017-01-22T04:18:40.538359+00:00…

Adam
- 1,157
- 6
- 19
- 40
0
votes
1 answer
Facebook Bulk API: Request order is not preserved
I am currently using the facebook bulk api to send multiple messages to users (messenger api) with the following request (access tokens and user ids are censored):
curl \
-F…

Birne94
- 636
- 8
- 21
0
votes
0 answers
Facebook messenger bot- am not able to close the window on click of button
I'm navigating from messenger bot to url link("https://xyz.xyz.com/Facebook/apps/Facebook/common/views/Enquiryloans.html")
after opening this page in the browser i need to close this using onclick javascript function. But i'm not able to close this…
0
votes
1 answer
Messenger Platform: Webhook failing
My question is kinda like this.
Your Webhooks subscription for callback URL https://{domain}/bot has not been accepting updates for at least 2 days. Please verify that your callback server is functioning. Visit our reference documentation to learn…

W.T. Chang
- 3
- 2
0
votes
1 answer
How to place buttons inline in Facebook messenger bot?
Sometimes need to arrange the buttons in a line.
For example, if we send 8 buttons with short text they will appear like this:
1
2
3
4
5
6
7
8
Is it possible to place buttons in a line in the screen area without scrolling to the right:
1 2…

Ernest Faizullin
- 147
- 9
0
votes
1 answer
How to get a new session access token in Facebook Messenger Bot
I changed my Facebook account's password, and the Facebook Messenger Bot I made can no longer respond to my messages.
This error comes up in my Heroku logs:
2016-12-28T22:19:32.647313+00:00 heroku[router]: at=info method=POST path="/webhook"…

Pat Myron
- 4,437
- 2
- 20
- 39
0
votes
1 answer
Facebook messenger bot test users API
I followed these steps and created a test user and a test page and now I can send and receive messages if I login with the test user.
Is there any way to send/receive messages via facebook API while the sender/receiver is the test user and not the…

Noam
- 1,018
- 7
- 18
0
votes
1 answer
Different Persistent Menu for each Messenger Bot user
Could I, for example, set different languages or different menu options for each user? I did't find such example in Facebook Documentation

datafile4
- 69
- 2
- 12