Skip to content

A SWAPI-powered bot using Recast.AI NLP and Bot Connector

Notifications You must be signed in to change notification settings

plieb/OBAW-0x0006-Star-Wars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Wars + Recast.AI

This bot is part of the #OBAW Github project - Week 0x0006 - Star Wars

Medium publication project page #OBAW Medium

Medium publication Star Wars page #OBAW Star Wars

Star Wars Bot for Facebook Messenger using Recast.AI

A SWAPI-powered bot using Recast.AI NLP and Bot Connector

Follow the instructions below to create your own instance of the bot:

Step 1: Deploy the Bot

  1. Make sure you are logged in to the Heroku Dashboard

  2. Click the button below to deploy the Messenger bot on Heroku:

    Deploy

  3. Fill in the config variables as described.

    • For BC_USER_SLUG blank for now (filled at step 2)
    • For BC_BOT_ID blank for now (filled at step 2)
    • For BC_USER_TOKEN blank for now (filled at step 2)
    • For RE_BOT_TOKEN blank for now (filled at step 3)

Step 2: Create your bot on Bot Connector

  1. Make sure you are logged in to your Bot Connector account

  2. Click the button New Bot and define the bot as follows

    • Bot Name: Star Wars Bot
    • Bot URL: enter your Heroku URL + /webhook (MY_HEROKU_URL.heroku.com/webhook)
  3. In Settings find your slug, token and bot ID. Copy paste those values in the Config Variables section of your Heroku app to BC_USER_SLUG, BC_USER_TOKEN and BC_BOT_ID

  4. Get back to your Bot Connector account and add a Messenger channel. Give it a name and follow step 1 to 4 in order to get your Secret Key & Page Token

Step 3: Get your Recast.AI bot

  1. Make sure you are logged in to your Recast.AI account
  2. Follow this link Star Wars Wiki Bot and fork the bot to your account
  3. Copy paste your bot request access token in the Config Variables section of your Heroku app to RE_BOT_TOKEN
  4. You're all set !

Author

PE Lieb @pedward_lieb

You can follow us on Twitter at @recastai for updates and releases.

Special thanks

About

A SWAPI-powered bot using Recast.AI NLP and Bot Connector

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published