How to test FB messenger bot with multiple users

Gerwin Brunner picture Gerwin Brunner · Aug 17, 2016 · Viewed 8.1k times · Source

Has anybody yet a way to interact with an FB messenger bot without using real FB accounts? I want to do automated testing and obviously not use real accounts for that. I was not able to figure out how to allow access to a page to 'test users' or create a test page and subscribe the test app to it. Any ideas on how to do this?

Answer

Fraser Greenlee picture Fraser Greenlee · Mar 4, 2017

I use a wee web app I made to act as a local version of the facebook messenger api server and run user actions.

https://github.com/Fraser-Greenlee/bot_tester

On it you can write a script to define new users and their actions.