Developing a Facebook Messenger Bot (Part 1)

Where to start?

Set up an app

“Messenger” was already added to my app

Write code

class BotController < ApplicationController
def webhook
if params[‘hub.verify_token’] == “mytoken”
render text: params[‘hub.challenge’] and return
else
render text: ‘error’ and return
end
end
end

Next step

Dreimannzelt Adventures

Turning ideas into businesses

Matthias Orgler

Written by

Agile Coach, Business Innovator, Software Engineer, Musician

Dreimannzelt Adventures

Turning ideas into businesses