Great Tutorial.
John Clegg
1

Hi John, thanks for the question.

You should point the webhook to {root_url}/bot. Please remember to specify the route in your rails app:

mount Facebook::Messenger::Server, at: ‘bot’

Once done, you need to fire this command to activate your messanger: curl -X POST “https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=<PAGE_ACCESS_TOKEN>"
After that you should see: {“success”:true}

Hope this helps !

Show your support

Clapping shows how much you appreciated Joey Tan’s story.