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

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!

主站蜘蛛池模板: 汾西县| 延庆县| 泸州市| 且末县| 文安县| 静宁县| 榆林市| 洛扎县| 德阳市| 松滋市| 广昌县| 海兴县| 绿春县| 来宾市| 淮安市| 无极县| 大姚县| 绵阳市| 房山区| 揭西县| 乌拉特后旗| 苏尼特左旗| 汝南县| 新晃| 南阳市| 丰台区| 襄城县| 安龙县| 屏东市| 沁水县| 吴江市| 鹤山市| 平湖市| 苍南县| 新丰县| 昌乐县| 齐河县| 南召县| 淮安市| 高邑县| 当雄县|