Problem showing data from incoming webhook | Taiga --> Rocketchat - notifications

I'm trying to generate alerts based on notifications from Taiga project management software (when a user creates a project for example). These alerts will arrive to a specific Rocket.chat channel.
For this I am using the incoming Rocketchat webhooks: https://docs.rocket.chat/administrator-guides/integrations/
So I created the incoming webhook and entered the data into Taiga:
Configuring the webhook in Taiga
Once all this is done I check that the message arrives at the destination correctly:
Example of a notification message
Indeed, the message is received but it doesn't show any information. When a user history, an issue or any modification that leads to an alert is created, it is received in rocketchat but it doesn't show any information (empty message).
Payload sended by Taiga to Rocketchat
Does anyone know why he won't show me any information?
Thank you very much in advance
Greetings.

Do you really want to post notifications to a Rocket Chat channel, when a taiga user created a project in taiga? I would not know, how you can do that. But, as far as I can see, your screenshot shows the configuration of a generic webhook in a project after that project has been created. Therefore, I hope it is sufficient to post notifications from that project to your Rocket Chat channel. Here is my answer for this case:
I observed a similar behavior. Using the generic webhook, I could only trigger empty posts in my Rocket Chat channel by clicking on "test" for that webhook.
However, the Rocket Chat API seems to be compatible with the Slack API, cf. https://github.com/RocketChat/Rocket.Chat/issues/1728#issuecomment-166669379.
In contrast to the generic webhook, the Slack plugin for taiga (https://github.com/taigaio/taiga-contrib-slack) worked out of the box (https://tree.taiga.io/support/contrib-plugins/slack-integration/).
Only my browser gave me some hassle, because it cached the taiga webpage and after installing the Slack plugin a simple page reload was not enough to display the "Plugins" entry in the "Admin" menu of the project. "Shift+reload" did the job. But apart from that standard issue, everything worked.

Related

WhatsApp messaging webhook does not work in production mode

I am trying to create a connection between our WhatsApp Business account and our website where we gather all messages sent to our business on different channels (through our own app, text, WhatsApp, ...).
I've followed this tutorial (https://developers.facebook.com/docs/whatsapp/cloud-api/get-started) and have everything set up: our WhatsApp Business is working correctly, I've added a Meta App and I've set up the webhooks with a connection to my node.js backend.
When I click Test next to the "Messaging" webhook, I receive the message on my node.js backend and website. So I know this side is working as it should.
I've then used the Graph API to subscribe my Meta app to the messages with the business id of the WhatsApp with the correct permissions. When checking the subscribed apps with the {business_id}/subscribed_apps endpoint, I can see my Meta app. So I believe everything is set up correctly.
My Meta app is also set to "production".
However, when I try to send a message with my personal WhatsApp to my business WhatsApp, I receive nothing on the webhook.
I checked the logs on my server and nothing is being received, so I know it's not an issue in my node.js backend.
Is there something else I need to do to make this work? Does the Meta app need to be verified to use the webhook in production? If so, how can I do this? The guide for verification says I need a platform and login insctructions, but the Meta app is really only a webhook without an interface.
Thanks in advance.

How could the app send a message to the phone when certain mission fulfilled?

I can use FCM console to send messages to all users or certain users at a certain time.
Now I want the app send a message to specified users when their in-game energy is full. How to realize it with FCM? And can I know the messages' sends, opens, conversions?
Sending a message to a user can only be done from a trusted environment, such as the Firebase console, or a place where you can trust that the code running is yours (such as your development machine, a server that you control, or something like Cloud Functions/Cloud Run).
For examples of how to send a message by calling FCM's API, see the documentation on building send requests, and this sample use-case of notifying the user when something interesting happens using Cloud Functions.

Incoming webhook message appears from 'Unknown User' in mobile app, correct webhook name in web interface

I have an incoming webhook in a Google Chat room called 'Github Bot'. A Python script hits the webhook URL with a standard message POST payload.
The web interface at https://chat.google.com shows the correct name 'Github Bot' in any messages received to this webhook.
But the mobile Chat application shows those same messages as coming from 'Unknown User'.
Is there any way to make the mobile app use the webhook's name as the sender, same as the web interface does? E.G, is there some attribute I can send as part of the payload, or is this simply a bug/non-implementation on the mobile app and I can't do anything about it?
Thanks!
This seems to be a bug:
The webhook name and the Bot label are not shown properly on the iOS mobile app if an avatar is added to the webhook:
On Android, and on the web browser, the name and the Bot label are displayed correctly:
Reported in Issue Tracker:
I went ahead and reported this behavior in Google Issue Tracker:
Messages from incoming webhooks are not displayed properly on iOS
I'd suggest you to star this issue in order to keep track of this and to help prioritizing it.

Empty log for Safari Push Notifications webservice

I've implemented Safari Push Notifications both server-side and client-side. On the client, after asking for permissions, the callback function is called with permission "denied".
On the server-side, the logs show that a request for the push package has been made and returns a 200, but a few seconds later the /v1/log endpoint is called with no payload.
Does anyone have an idea how to debug this?
May help following guide and push package creator.
browser-push
A helpful tip is to look in the System Log, from the Console app. Safari shows messages in there.
Another reason for my issue is realted to Django, which as 1.5 doesn't show non-form data in request.POST, but in request.body.

GCM response NotRegistered after one hour

I have a problem with my application. About sending notifications via GCM. My application saves on my server the user register_id, notifications work perfect, but after an hour I get error NotRegistered.
I have reviewed the documentation and in theory the REQUEST should return me a new register_id, but this does not happen.
Can I get help?
Based on your Manifest file, I suppose that you are using https://github.com/infobip/push-plugin-cordova-phonegap insted of https://github.com/phonegap-build/PushPlugin.
Here is a documentation for Infobip Push Library. Let's try to integrate it from scratch, but first of all, don't forget to register on Push Platform and get necessary credentials.