ExFacebookMessenger v0.3.0 FacebookMessenger

Module responsible to check the facebook messenger webhook registation and responsible for dealing with facebook messages

Summary

Functions

Check if the challenge sent from facebook matches the one stored in the app The stored verification token is configured by setting challenge_verification_token in config.exs

Parse the payload sent from facebook and converts them to FacebookMessenger.Response structure

Functions

check_challenge(params)

Check if the challenge sent from facebook matches the one stored in the app The stored verification token is configured by setting challenge_verification_token in config.exs

Parameters:

  • params: Parameters sent from facebook
parse_message(params)

Parse the payload sent from facebook and converts them to FacebookMessenger.Response structure

Parameters:

  • params: Parameters sent from facebook