官术网_书友最值得收藏!

Building your first bot

Chatfuel bots can be published on two deployment platforms: Facebook Messenger and Telegram. Let us build a chatbot for Facebook Messenger first. In order to do that, we need to create a Facebook Page. Every chatbot on Facebook Messenger needs to be attached to a page. Here is how we can build a Facebook Page:

  1. Go to https://www.facebook.com/pages/create/.
  2. Click the category appropriate to the page content. In our case, we will use Brand or Product and choose App Page
  3. Give the page a name. In our case, let's use Get_Around_Edinburgh. Note that Facebook does not make it easy to change page names. So choose wisely.
  4. Once the page is created, you will see Chatfuel asking for permission to connect to the page:
  1. Click CONNECT TO PAGE. You will be taken to the bot editor.
  2. The name of the bot is set to My First Bot. It has a Messenger URL, which you can see by the side of the name. Messenger URLs start with m.me. You might notice that the bot also comes with a Welcome message that is built in. On the left, you see the main menu with a number of options, with the Build option selected by default. We will explore other options in later sections:
  1. Click the Messenger URL to start your first conversation with the bot. This will open Facebook Messenger in your browser tab:
  1. To start the conversation, click the Get Started button at the bottom of the chat window.
  2. There you go! Your conversation has just started. The bot has sent you a welcome message:

Notice how it greets you with your name. It is because you have given the bot access to your info on Facebook. 

Now that you have built your first bot and had a conversation with it, give yourself a pat on your back. Welcome to the world of chatbots!

主站蜘蛛池模板: 百色市| 昌江| 西青区| 建始县| 永泰县| 定远县| 临西县| 南部县| 玛曲县| 木兰县| 新田县| 高邮市| 神木县| 平顺县| 河池市| 仪征市| 武定县| 正安县| 南江县| 吉木萨尔县| 长葛市| 屏东县| 京山县| 永康市| 丹棱县| 云浮市| 勐海县| 南漳县| 南宁市| 黄冈市| 扬州市| 小金县| 武强县| 交口县| 建瓯市| 定安县| 赣榆县| 黔西县| 双峰县| 铜山县| 瑞金市|