Skip to content

Facebook-bot for communicating with users through facebook-messenger

Notifications You must be signed in to change notification settings

ushahidi/platform-facebook-bot

Repository files navigation

COMRADES Platform Facebook Bot

============================

here <- make sure to link back to landing repo

You need to deploy the COMRADES Platform API first

COMRADES Platform Client installation

Download

What is the COMRADES platform facebook bot?

The Facebook bot is used for communicating with users through facebook-messenger. Users can create reporrts by chatting with the bot and they are then sent back to the platform, wheere they can be processed by the service proxy if the user configures the webhooks for it. The Facebook bot runs in a server, it can be run either in the same server or a different one. The platform URL and other configuration settings can be changed through an .ENV file in the repository. Setup instructions can be found in its own repository

Installation

Make sure the following is installed:

Clone https://github.com/ushahidi/platform-facebook-bot
run composer install
add a .env-file. See .env.example for guidance
run vagrant up
run artisan php migrate --seed

Setting up bot

  • Create page, organisation or group for the app
  • Create a facebook-app on https://developers.facebook.com
  • Get access_token
  • Set up messenger
  • Setup webhooks:
  • Add callback-url
  • Add secret-token

References

This is one of three repositories related to COMRADES deployment of Ushahidi, which is being tested here.

Acknowledgment

This work has received support from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 687847.

About

Facebook-bot for communicating with users through facebook-messenger

Resources

Stars

Watchers

Forks

Packages

No packages published