Questions tagged [facebook-messenger]

Facebook Messenger is an instant messaging service and software application which provides text and voice communication. Integrated with Facebook's web-based Chat feature and built on the open-source MQTT protocol, Messenger lets Facebook users chat with friends both on mobile and on the main website. Information from : Wikipedia

Facebook Messenger is an instant messaging service and software application which provides text and voice communication. Integrated with Facebook's web-based Chat feature and built on the open-source MQTT protocol, Messenger lets Facebook users chat with friends both on mobile and on the main website.

Information from : Wikipedia

1290 questions
0
votes
1 answer

How to add text on facebook messenger bot before Welcome screen?

Currently Facebook provides us with API to set a text or generic message as welcome screen which gets triggered when we press "Get Started" button in message window. However, some bots show some text on top of get started button (as soon as we click…
Arbaz Siddiqui
  • 441
  • 2
  • 10
0
votes
1 answer

Sharing variables across event callbacks in NodeJS

I'm trying to build a FB messenger bot using messenger-bot module. Here's my sample code bot.on('message', (payload, reply) => { let userData = payload.message.text; bot.getProfile(payload.sender.id, (err, profile) => { if (err) { …
manthosh
  • 165
  • 1
  • 1
  • 14
0
votes
1 answer

Format Bot messages to Facebook Messenger

How does one go about formatting messages that the bot sends to the Facebook channel? It doesnt support markdown and there are character limits on the messages. It also looks like you cannot send images. so how do you go about formatting the…
David Pilkington
  • 13,528
  • 3
  • 41
  • 73
0
votes
1 answer

How to delay Facebook Messenger Bots with the dots like they are typing

I don't see any setting on the Facebook configuration page that would give the ... while the bot is "typing" but I've heard it's configurable?
GarySabo
  • 5,806
  • 5
  • 49
  • 124
0
votes
3 answers

Best practice for deploying spring boot application on Amazon

I've devloped a chat bot application using the Facebook Messenger platform. I used Spring Boot with embedded Tomcat for the web platform. The application should run on Amazon aws, open to the WWW, and to be used as a webhook for recieving callbacks…
0
votes
1 answer

Facebook bot - retrieve image sent by user

I would like to know if this is possible for the Bot to retrieve an image directly send by the user in the messenger chat. (e.g. Get the image of a fire extinguisher on server side and save it) I know there is this topic but because I'm in a case…
Bryan
  • 13
  • 5
0
votes
0 answers

Can't get Messenger Bot approved

I have sent my messenger bot for approval and I always get the request rejected with this message: "Please provide a test url that we can test with.". It's a messenger bot that works in a Facebook page chat, there is no link to provide... Obviously…
0
votes
1 answer

facebook messenger 404 file not found

I am trying to follow the example outlined here of creating a simple echo bot for Facebook Messenger https://developers.facebook.com/docs/messenger-platform/quickstart I got most of it working, except for the sending message response part. I keep…
Tri Nguyen
  • 9,950
  • 8
  • 40
  • 72
0
votes
1 answer

How cURL POST image file works?

I am trying to use the new Facebook Messenger Platform API to send image message using image file from application directory. Facebook gives the example using cURL like below: curl \ -F recipient='{"id":"USER_ID"}' \ -F…
hendryanw
  • 1,819
  • 5
  • 24
  • 39
0
votes
1 answer

Integrate Facebook messenger into CRM without bot?

we have built a very simple bot that simply passes any message onto our own application. (we want to answer questions asked from our customers to be handled straight from our CRM application for customer service purpose) Now, the bot is declined…
Michel
  • 9
  • 2
0
votes
1 answer

Stickers and Gif cause Facebook Messenger bot to freeze

The Facebook Messenger API is pretty sweet overall. However, whenever an user sends a sticker (The balloon thumb up sticker for example) to my bot, it always freezes for around 20 seconds. If the user sends a lot of stickers, the bot will simply…
lpan
  • 448
  • 5
  • 10
0
votes
2 answers

Facebook Messenger Bot Webhook trouble

I'm trying to get the FB Messenger Bot API to work. I'm currently on the step where I'm trying to subscribe a webhook. I currently have a script of the following form: #!/usr/bin/php
MEric
  • 946
  • 3
  • 12
  • 30
0
votes
0 answers

Facebook page webhook data

In facebook developers i set up page webhook in my app. All work fine and i am getting webhook updates when someone send message to my page. JSON: { "object": "page", "entry": [ { "id": 859996317460158, "time": 1461153660752, …
row248
  • 391
  • 2
  • 3
  • 12
0
votes
4 answers

Facebook Messenger API - Can't verify webhook URL (PHP)

I'm trying to set up a fb messenger chatbot but don't seem to be able to get the webhook callback url verified. Every time I try to verify it I get this error message - The URL couldn't be validated. Response does not match challenge, expected value…
PeterD
  • 19
  • 1
  • 1
  • 5
0
votes
1 answer

Facebook Messenger -- Node to Ruby (Sinatra) GET example

app.get('webhook/', function (req, res) { if (req.query['hub.verify_token'] === 'this_is_my_marker_for_confirmation') { res.send(req.query['hub.challenge']); } res.send('Error, wrong validation token'); }) I am trying to build this hub…