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
1
vote
2 answers

Invalid HTML, CSS, or JavaScript error in Google Tag Manager with FB Bot

I'm trying to put the following Facebook bot code into Google Tag Manager but am getting the "Invalid HTML, CSS, or JavaScript found in template." error. Any idea why?
Ofir Beigel
  • 53
  • 2
  • 5
1
vote
1 answer

AWS Lambda - How handle the order of request processing in a function

I am using AWS Lambda (Node.js 8.1) for my AWS Lex chatbot which is integrated with facebook and would like to know how to make the bot print out the confirmIntent response (request 1) first and then print the quick replies (request 2). I have tried…
1
vote
2 answers

How to connect RasaCore Chatbot to Messenger?

I am trying to connect RasaCore Chatbot to Facebook Messenger. How can I do it via run script if I do not have the URL (the callback URL to setup webhook)? I cannot do it either using python and I don't know why. Is this the only instruction? I…
1
vote
1 answer

Images not loading on Facebook chatbot

I developed a Facebook chatbot for displaying a carousel of images based on what the user entered in the chat. The images are hosted on my own website and belong to me. Initially, the carousel was loading the images properly from my website but…
User54211
  • 121
  • 2
  • 11
1
vote
2 answers

Identify unique user in Dialogflow V1

So I am testing out Dialogflow and one of the first questions I have is: how does my bot know who it is talking to? I need to identify a user and keep that information for as long as I can. The basic scenario being: User starts his/her first…
1
vote
2 answers

Microsoft bot framework openurl not working for SuggestedActions in messagener

var resultMessage = context.MakeMessage();resultMessage.SuggestedActions = new SuggestedActions(){Actions = new List(){new CardAction(ActionTypes.OpenUrl, "Book now", value: "http url"),}}; await…
Samadhan
  • 389
  • 1
  • 5
  • 18
1
vote
0 answers

PHP Messengerbot : Stuck User during test

I working on a BotMan based Messenger chatbot. I set up everything, tried to test out, everything went fine, but I got stuck. I wanted to send an image as a response from my bot to my Facebook profile. It sent the image, but after it I got stuck: It…
Feralheart
  • 1,881
  • 5
  • 28
  • 59
1
vote
1 answer

How to integrate AWS Lex Chatbots Voice to Facebook

I had configured my chatbot using AWS Lex Chatbot service. My main intention to create chatbot is to integrate it to Facebook and the user's communication should possible in both text and voice. I integrated my chatbot to facebook successfully by…
1
vote
1 answer

Messenger chatbot send file

I'd like to send a file to the user, to do so I tried the request below, but it fails. The docs are not clear about wether is_reusable is compulsory, but the request fails with the same error, even if I include it. The download url works fine in a…
1
vote
0 answers

Facebook Chat bot not working for public

I have a chat bot working fine for a single page. My app is currently live and available to the public. I generated page tokens using Facebook Login. But I want to integrate same chat bot with other pages also. I follow below guidelines to subscribe…
1
vote
1 answer

The URL couldn't be validated Facebook Messenger Chat Bot

i tried to make some bot messenger on facebook, but when i try to setup the webhook it is always failed, any suggestion? and here is my code, what did i do wrong in my setup? const express = require('express'); const bodyParser =…
Mirza Chilman
  • 429
  • 1
  • 6
  • 22
1
vote
1 answer

Quick Replies in Webchat- Bot Framework (Nodejs)

Messenger provides quick reply buttons for the bots as shown here However, I was interested to get the same on Microsoft Bot Framework Chat Interface. I figured out a C# method for doing the same which is as below: var reply =…
CTD
  • 43
  • 1
  • 5
1
vote
1 answer

Open URL with external browser in Messenger

I'm building a (Facebook) Messenger chatbot which needs to send a URL to the user which may be handled by a specific application instead of a web browser. By default messenger opens URLs in a integrated web view instead of delegating the task of…
1
vote
1 answer

Push notification as first interaction with Facebook Messenger Bot?

Does anyone know if you can bypass the "get started" button through facebook messenger for a user to engage with a chatbot? I was thinking about linking from a webpage, and when someone clicks the button the bot would automatically push a message.…
1
vote
1 answer

OAuth Exception in Facebook messenger chatbot using api.ai and heroku(node.js)

I have shared my code and the error that popped up below. Basically, I followed the tutorial http://www.girliemac.com/blog/2017/01/06/facebook-apiai-bot-nodejs/ and another one. My chatbot works for smalltalk but not for the weather api stuff. I am…
Ramya Raj
  • 109
  • 1
  • 10