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
2
votes
1 answer

How to solve Heroku application error(node.js)?

I am trying to use Messenger Platform to create a chatbot. I needed to deploy my Node.js code on a server so I used Heroku. index.js: 'use strict'; // Imports dependencies and set up http server const express = require('express'), bodyParser =…
Abeer Ahmed
  • 21
  • 1
  • 3
2
votes
0 answers

Microsoft bot framework carousel with multiple buttons

I want to make a carousel as in the image below for facebook messenger using Microsoft bot framework export function SuboffertCard(subOffert: SubOffertCard, session?: builder.Session) { return new builder.HeroCard(session) …
2
votes
1 answer

Facebook Messenger API - How to Unsubscribe a user from a Page?

Is there a way to programmatically unsubscribe a Facebook user so he doesn't receive any messages from the bot on my Facebook Page? I can mark him in my database as unsubscribed so my program can check and not send him messages via Send APIs, but he…
user1076731
  • 203
  • 3
  • 14
2
votes
0 answers

Facebook Messenger postback button NOT triggering Dialogflow Event

I have a problem to configure my Facebook messenger bot to trigger an event in my Dialogflow agent I tried many things but none of theme seems to work. my approach is I send a list of Items to the user with a postback button on each and when the…
2
votes
1 answer

Force Messenger webview in browser not to open new tab

Is it possible to keep the user flow inside the messenger web view? My user flow is: A button opens a web view User fills a few fields for authentication User is redirected for payment - this opens in a new tab The payment site redirects the user…
Bence Gedai
  • 1,461
  • 2
  • 13
  • 25
2
votes
1 answer

Facebook programmatically application creation

I'm facing the situation where I need to programmatically create multiple Facebook Messenger Apps to different chatbots. Pretty much something like ManyChat and ChatFuel. Can someone shed some light on how is it possible? There's a thread on it from…
2
votes
1 answer

Creating carousel card in AWS Lex

I am trying to build a ecommerce chatbot using lex. Is there any solution to use a carousel card or multi response cards in Lex? For example: Thanks..
2
votes
4 answers

How to get images/attachments sent by user from Facebook messenger bot through Dialog Flow (API.AI)?

I have Chabot powered by Dialog Flow (API.AI) which requires user to send images. I know that when the user clicks on Get Started button in messenger (while starting a conversation with the bot) an intent in Dialog Flow (API.AI) with…
2
votes
1 answer

Messenger bot undefined messaged

I am creating new Messenger chatbot for my FB page but when I write message from my FB page to someone then it shows "undefined" messaged notification. Do you know where is problem (FB page configuration or chatbot code)? This problem is only on…
2
votes
2 answers

Heroku returns "ImportError: No module named fcntl on window"

I'm setting app on Heroku. I do in instruction like so: Image In error 1, I code in Notepad and run it in command: import requests from django.shortcuts import render from django.http import HttpResponse from .models import Greeting # Create your…
2
votes
1 answer

Can I build a bot using Facebook Messenger Platform to integrate on my own website or does it work only on FB Messenger having a FB page?

I am new to chat bot. I want to ask if I can build a bot using Facebook Messenger Platform to integrate on my own website or does it work only on FB Messenger having a FB page? Like api.ai can be integrated to different platform, so can bot build…
Ravi Sharma
  • 244
  • 2
  • 14
2
votes
1 answer

Facebook Messenger ID Matching API works only for Administrators

I have a messenger app and I want to check if the messenger user is also a registered user of my website. I'm using Facebook's id matching api feature to get the real facebook id using the psid returned by messenger. However, it only works only for…
Jay
  • 405
  • 7
  • 15
2
votes
1 answer

Facebook Chatbot Persistent Menu doesn't work (parameter setting_type is required)

I'm currently trying to implement a Persistent Menu for my Facebook Chatbot. Sadly there are two (completely different) documentation for the implementation which both don't work for me. (Both should work for API…
BeMoreDifferent.com
  • 754
  • 1
  • 8
  • 17
2
votes
3 answers

Is it possible to detect when a user opens the chat window on Facebook?

I'm trying to create a chatbot where in order to avoid the user opening the chat window and not knowing the available options, I want to give some basic instructions when the user opens the chat window. Is there any trigger available when the user…
adamasan
  • 1,092
  • 1
  • 12
  • 33
2
votes
1 answer

How is it possible to protect read/write transactions with xml file in php

from facebook chat I got the request and this request change some information in xml file (coding on php). The cod is next: $participants = simplexml_load_file($fname); //change,add,delete nodes $participants->asXML($fname); For example if request…