Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add messaging feedback receive event to facebookapp handler #82

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rasoro
Copy link
Member

@rasoro rasoro commented Nov 18, 2021

support to receive messaging_feedback webhook event on facebookapp handler, from response of a customer feedback template.

with this, rapidpro can receive the result as question payload from customer answer.

reference: https://developers.facebook.com/docs/messenger-platform/send-messages/templates/customer-feedback-template/

edit1:
add support to send customer feedback template from send message with a specifc protocol.

{customer_feedback_template}|
title: Avalie sua experiência conosco|
subtitle:nos ajude a melhorar a eficiência do serviço|
button_title:Avaliar|
question_title:Como foi sua experiência na conversa?|
question_id:definida_pelo_usuario|
type:csat|
score_label:neg_pos|
score_option:five_stars|
business_privacy:www.example.com

@rasoro rasoro requested a review from Robi9 November 18, 2021 20:08
@rasoro rasoro force-pushed the feature/fb-feedback-template-receive-support branch from ebde2a0 to 79faf8f Compare November 22, 2021 19:00
@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2021

Codecov Report

Merging #82 (79faf8f) into main (8d70f22) will decrease coverage by 0.44%.
The diff coverage is 16.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
- Coverage   71.51%   71.07%   -0.45%     
==========================================
  Files          95       95              
  Lines        8444     8512      +68     
==========================================
+ Hits         6039     6050      +11     
- Misses       1788     1843      +55     
- Partials      617      619       +2     
Impacted Files Coverage Δ
handlers/facebookapp/facebookapp.go 66.76% <16.17%> (-13.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d70f22...79faf8f. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants