README.md in messenger-bot-0.1.5 vs README.md in messenger-bot-0.1.6
- old
+ new
@@ -1,8 +1,8 @@
-#facebook-bot
-[![Build Status](https://travis-ci.org/jun85664396/facebook-bot.svg?branch=master)](https://travis-ci.org/jun85664396/facebook-bot)
-[![Gem Version](https://badge.fury.io/rb/facebook-bot.svg)](https://badge.fury.io/rb/facebook-bot)
+#messenger-bot
+[![Build Status](https://travis-ci.org/jun85664396/messenger-bot.svg?branch=master)](https://travis-ci.org/jun85664396/messenger-bot)
+[![Gem Version](https://badge.fury.io/rb/messenger-bot.svg)](https://badge.fury.io/rb/messenger-bot)
Ruby on Rails client!! for [Facebook Messenger Platform](https://developers.facebook.com/docs/messenger-platform)
Requires Rails >= 4.2.0
@@ -12,11 +12,11 @@
gem 'messenger-bot'
##Quickstart
- #config/initializers/facebook_bot.rb
+ #config/initializers/messenger_bot.rb
Messenger::Bot.config do |config|
config.access_token = <ACCESS_TOKEN>
config.validation_token = <VERIFY_TOKEN>
end
@@ -26,10 +26,10 @@
mount Messenger::Bot::Space => "/webhook"
##Example
-[Example](https://github.com/jun85664396/facebook-bot/blob/master/example/facebook_bot.rb)
+[Example](https://github.com/jun85664396/messenger-bot/blob/master/example/messenger_bot_controller.rb)
# app/controllers/application_controller.rb
Messenger::Bot.on("message") do |event, sender|
sender.reply({ text: "Reply: #{event['message']['text']}" })