Ansible role for creating Facebook test users to test Messenger bots.
Facebook for Developers enables users to create test applications and test users. Manually creating and destroying new test users becomes challenging to maintain, is time-consuming, and impedes the development of Messenger bots.
The purpose of this role is to provide the functionality for creating and configuring test users to be able to message the bot.
Below are some use cases for using this role:
- Quality assurance (QA) testing
- Integrate into existing build and deployment pipelines
- Reusability across different environments (e.g., review, staging, production)
This role does not have any dependencies.
$ ansible-galaxy install mako-ai.facebook-messenger
---
- hosts: all
remote_user: root
roles:
- ansible-role-facebook-messenger
vars:
graph_subscription_callback_url: http://localhost/facebook/receive
Page Variables
Name | Type | Required |
---|---|---|
graph_page_about |
str |
✖️ |
graph_page_category_enum |
str |
✖️ |
graph_page_cover_photo_url |
str |
✖️ |
graph_page_name |
str |
✖️ |
graph_page_picture |
str |
✖️ |
Subscription Variables
Name | Type | Required |
---|---|---|
graph_subscription_callback_url |
str |
✔️ |
graph_subscription_fields |
seq |
✖️ |
graph_subscription_object |
str |
✖️ |
User Variables
Name | Type | Required |
---|---|---|
graph_user_permissions |
seq |
✖️ |
MIT © Mako AI