Skip to content

hey-mako/ansible-role-facebook-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role for creating Facebook test users to test Messenger bots.

Build Status

Contents

Motivation

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)

Dependencies

This role does not have any dependencies.

Install

$ ansible-galaxy install mako-ai.facebook-messenger

Examples

---

- hosts: all
  remote_user: root
  roles:
    - ansible-role-facebook-messenger
  vars:
    graph_subscription_callback_url: http://localhost/facebook/receive

Variables

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 ✖️

License

MIT © Mako AI