amazon-connect / amazon-connect-message-streaming-examples

This repository contains an example project on how to get started with Amazon Connect Chat Message Streaming APIs to enable SMS and Facebook messenger channels for customer service.
MIT No Attribution
23 stars 39 forks source link

add appsecret_proof parameter for WhatsApp #28

Closed ilove2git closed 1 year ago

ilove2git commented 1 year ago

…cret' if enabled in app's setting

Issue #, if available:

Description of changes:

Currently only accessToken and phoneNoId are used when invoking WhatsApp API for sending message. It possibly could lead error as below which is caused by without appsecret_proof argument attached while Require App Secret is turned on in your facebook setting.

image

Hence, i added such support in relevant WhatsApp code. And test successfully.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ilove2git commented 1 year ago

close this pr since just want to include commit 1b695e6