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 correlate two text messages in facebook messenger API

I'm implementing a chat bot using messenger API. In a scenario like this, how to match answers with the question when both of them are in text message format. I can't use pattern matching here. bot q1: How much is it? user: 250 bot q2: How many?…
aravindaM
  • 978
  • 8
  • 15
0
votes
1 answer

GET request to fb messenger API is not working

So I have made a couple of post requests to FB's API and they work fine, one of the POST actually spits out in the console the id of the user I'm supposed to pass if I want to get extra info about the profile in case I want to reuse it to post it…
Tmute
  • 43
  • 1
  • 8
0
votes
0 answers

Trying to get the gender using facebook Messenger Bot call

Hi I am trying to get the gender back from a curl request in node.js. I am following these instructions https://developers.facebook.com/docs/messenger-platform/user-profile my code is below, but i get an error during the execution. I call the below…
Ethan Richardson
  • 461
  • 2
  • 10
  • 28
0
votes
1 answer

How do I check if a session id already exists in redis

I have the following code and I am not sure how to check if the session key exists already, because I do not want to create another redis session if it already exists. The request object is new with every call but I know that the event.sender.id is…
Ethan Richardson
  • 461
  • 2
  • 10
  • 28
0
votes
1 answer

Strange message from facebook messenger api

For some reason I receive message from facebook page (with connected bot): "Thanks for messaging us. We try to be as responsive as possible. We'll get back to you soon." But in bot app there is no such phrase. Whether he can send a facebook…
Dmitry
  • 2,057
  • 1
  • 18
  • 34
0
votes
1 answer

How to get link to user's timeline from Facebook Messanger Platform API?

Did I miss sth or it is impossible to get link to user's timeline from Facebook Messenger API? According to: https://developers.facebook.com/docs/messenger-platform/user-profile User Profile API doesn't return link in fields. Is there any other…
RobM
  • 432
  • 1
  • 4
  • 17
0
votes
1 answer

Rails Facebook Messenger Bot

This is my first question, so please let me know if I am doing something wrong. I tried to build a simple facebook messenger bot using the 'messenger-ruby' gem (https://github.com/netguru/messenger-ruby). I installed the gem successfully, but I…
Daniel Wu
  • 101
  • 4
0
votes
1 answer

Is it possible to transform an API response?

I would like to add some data and change the structure of an API response. Is their any service which supports this feature? So for example: I have the following API response: [ {"text-message": "Welcome to our store!"}, {"text-message": "How…
Robert Keus
  • 79
  • 1
  • 7
0
votes
1 answer

Does anybody know how to deal with conflict when I create multiple stories in same Wit.ai app?

I created multiple stories in one app, but when I put these codes in Facebook messenger, it seems that it has conflict. For example, I created a 'question & answer' story and 'greetings' story in my app, but when I send something in Facebook…
0
votes
1 answer

Facebook Messenger Bot: Detect When Video Attachment Playback?

Is it possible to detect when a user has completed playing a video attachment within Facebook Messenger using the Messenger Platform API? How about when a user has started playing the video attachment? Or how much time they spent watching the video…
0
votes
1 answer

Facebook Page Messenger not working with Webhook API

I followed the steps to setup the Facebook Messenger platform. I have successfully setup the webhook, I receive messages on my webhook. For webhooks to work, I obviously had to subscribe my page, see the screenshot. Now the strange problem is, if I…
0
votes
1 answer

How to maintain a production and development Messenger bot?

Now that my bot is live, I'm trying to understand what the best way is to maintain a production and development version. My production version is hosted on Heroku and my development version is hosted on my computer and tunneled to a static address.…
0
votes
1 answer

Android facebook messenger raw contact intent

Well, i'm getting RawContacts for a contact from ContactProvider. Viber, Whatsapp, Skype, Telegram, etc are launching well with Uri uri = Uri.parse("content://com.android.contacts/data/" + rawContactId); Intent i = new Intent(Intent.ACTION_VIEW,…
0
votes
2 answers

Conversational facebook messenger bot

Hi I am making a new bot for a product where I need to ask customer login id and password. So for my case, user would initiate a conversation by typing hi then bot will reply Hey! How can I help you, here if customer enter I want to transfer money…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
0
votes
2 answers

Facebook Messenger Bot only working for me (developer)

Hi I got my bot approved and the app is live to the public, but it only sends responses to me. Please help. Im a beginner and not sure what's wrong Update: Please see Messenger Bot Fails to Respond
Shaun
  • 804
  • 2
  • 8
  • 16