Starter kit for building bots with Kik
- Visit https://dev.kik.com/#/home and follow their instructions for creating a bot
- Run
npm install
- Install ngrok with
npm install ngrok -g
- Run
ngrok http 8080
. This will forward yourhttp://localhost:8080
to thengrok
address. - Go into
/config/index
and enter in your Kik bot credentials. Also, for the value of the keybaseUrl
, enter thengrok
url you got from the last step. - Run
npm start
- Go into Kik and send a message to your bot and check your logs to see if you successfully received the message on your server. Try saying
hello
!
-
I am getting the error message:
Option "username" must be a valid Kik username, Option "apiKey" must be a Kik API key, see http://dev.kik.com/
. If you are getting this issue, that means you either haven't updatedconfig/index.js
with your information or that you need to restart your node server. -
I am getting the error message:
sh: nodemon: command not found
. This means you need to installnodemon
. Runnpm install nodemon -g