Sha256: 1d05d8a1d46149a346db80e6029f4f6203c930155b1227e34a2afa6b0716aaf9

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

class FacebookBot
  Facebook::Bot.on("message") do |event, sender|
    sender.reply({ text: "Reply: #{event['message']['text']}" })
  end
  Facebook::Bot.on("delivery") do |event, sender|
    #BlahBlah
  end
  Facebook::Bot.on("postback") do |event, sender|
    #BlahBlah
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facebook-bot-0.1.3 example/facebook_bot.rb
facebook-bot-0.1.2 example/facebook_bot.rb
facebook-bot-0.1.1 example/facebook_bot.rb