FriendsOfFlarum / webhooks

Flarum with outgoing webhooks
MIT License
21 stars 12 forks source link

Add mattermost integration #20

Closed kevung closed 3 years ago

kevung commented 4 years ago

Webhook for mattermost would be fantastic ! I think it might be deduced from slack integration. For Gitea (a git Self hosted platform), I used to use webhooks dedicated for slack integration directly for mattermost, and it works. :) I don't know PHP, but If I Can be of any help in testing, I will be happy to contribute. Thanks again for your work and take Care.

kevung commented 4 years ago

On the Mattermost documentation: https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook

4. Mattermost incoming webhooks are Slack-compatible. You can copy-and-paste code used for a Slack incoming webhook to create Mattermost integrations. Mattermost automatically translates the Slack’s proprietary JSON payload format.
kevung commented 4 years ago

On the Mattermost documentation: https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook

4. Mattermost incoming webhooks are Slack-compatible. You can copy-and-paste code used for a Slack incoming webhook to create Mattermost integrations. Mattermost automatically translates the Slack’s proprietary JSON payload format.
kevung commented 4 years ago

On the Mattermost documentation: https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook

4. Mattermost incoming webhooks are Slack-compatible. You can copy-and-paste code used for a Slack incoming webhook to create Mattermost integrations. Mattermost automatically translates the Slack’s proprietary JSON payload format.
dsevillamartin commented 4 years ago

@kevung I'll probably allow the use of Slack webhooks on any site that supports them instead of just Slack - I don't like having it locked down and needing to update the list of compatible services.