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

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.

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.

Auto Read OTP in flutter using firebase is possible?

I have same problem and search a lot . But can't find exact Solution.
But I solve this problem by enabling 'Android Device Verification' API
Steps:
1:Go to the Library page in the Google APIs Console.
2:Search for, and select, the Android Device Verification API. The Android Device Verification API dashboard screen appears.
3:If the API isn't already enabled, click Enable.
4:If the Create credentials button appears, click on it to generate an API key. Otherwise, click the All API credentials drop-down list, then select the API key that's associated with your project that has enabled the Android Device Verification API.
Check this link for more information
https://developer.android.com/training/safetynet/attestation?authuser=0
The following package helps for auto reading of OTP
sms_autofill
https://pub.dev/packages/sms_autofill
This is a Similar issue for android mentioned, and Below are few work around:
You need to make sure the message you receive contains the hash of your app. Below is the right format :
123456 is your verification code for %APP_NAME%.
abc_hascode_xyz
If your SMS does not contain the hashCode at the end, you might have to shorten your app name to not more than 15 characters.
If your app is already published on Google Play, the name in the SMS will be the same as the one in the Google play store.
If you changed the name to 15 characters and the error still persists, you might have to wait for at least 24hours for the change to reflect on firebase.
if after all above it's still not resolved, please check if your receiver is well configured in the code.
check out the new GooglePlay policy on app name : Examples of common app names violations
Firebase auth with the phone automatically detects OTP in the phone itself.
But in few cases, OTP is not fetched by itself so I would like to suggest you please make a template such that OTP automatically gets detected.

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

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.

Hangout chat doesn't show my bot as user

I have followed the instructions as per the https://developers.google.com/hangouts/chat/how-tos/bots-develop?authuser=1
Created my agent - named as "phoebieagent".
Defined intents and entities.
Fulfilled by webhook and running a flask python API on https.
Published by bot as hangouts chat. Specified bot url to be the one
defined in step 3.
Bot status shows - "live" but in my hangouts I can't see my bot user.
Please suggest trouble shooting steps.
Thanks
Resolved it. Chat was disabled in google admin console.

How does bookmyshow decrypts Whatsapp api to send text?

I am curious to know how Bookmyshow and Redbus decrypts Whatsapp API to send text message via whatsapp ?
Does Whatsapp published their API publically or their technical team decrypt their API ?
So far WhatsApp has not publicly announced API's. It is not sure if there is any API available for premium customers like Bookmyshow or Redbus.
But you can achieve automated message like how Bookmyshow and redbus does by using Selenium combined with WhatsApp Web.
WhatsApp has provided a feature called Click to Chat, reference : https://faq.whatsapp.com/en/26000030/. By this method you can message anyone without having their phone number saved in your phone contacts list.
Click to chat workflow involves
Creating a custom URL with user phone number and text message to send
Clicking on the Send Button (This will open WhatsApp Web with user phone number provided is selected in WhatsApp Web chat area)
Clicking on the send button in chat area of whats app web to send message.
The above 3 steps can be automated using Selenium (Web browser automation).
There are lot of articles explaining this method and one such example can be found at https://www.craftedforeveryone.com/whatsapp-send-api-or-click-to-chat-automation-using-selenium-and-c-sharp/
By using Selenium, WhatsApp for Business and WhatsApp Web you can exactly replicate how bookmyshow sends messages.
WhatsApp for Business provides option to set automatic replies by which you can auto respond to the incoming messages.