-
Notifications
You must be signed in to change notification settings - Fork 72
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
INFO: Is the driver supporting NON_PROMOTIONAL_SUBSCRIPTION tag? #79
Comments
hey @tommiekn, thanks for the info. Right, we need to implement that somehow. I think right now it should be possible by adding the tag with the Actually, I think this is the best solution right now because I can't think of another one. We need to only add it for originating a message and there are dozens of tags available. So it is difficult to bake that into the driver. What do you think @mpociot? |
hi, i've had the same problem trying to send ISSUE_RESOLUTION tag. I've solved extending the FacebookDriver class,ovverriding buildServicePayload method, using a custom array_merge_recursive_distinct method ([http://php.net/manual/en/function.array-merge-recursive.php#92195]) while merging additonalParameters. This is necessary to replace the default messaging_type ('RESPONSE ') with the requested value: MESSAGE_TAG. |
@christophrumpel @mpociot this got implemented in the end or is still open? |
Any updates ? |
@crunck1 |
Anyone having a challenge with this. This is the approach.
Here is the class class FacebookDriverCustom extends FacebookDriver $parameters['access_token'] = $this->config->get('token'); |
Hi,
Just wondering if the driver does or will support the NON_PROMOTIONAL_SUBSCRIPTION
tag that is required from next year to send subscription messages.
https://developers.facebook.com/docs/messenger-platform/policy/app-to-page-subscriptions/
Thanks
The text was updated successfully, but these errors were encountered: