There is a feature in whatsapp to link his app with an other device.
I can not find any documentation about it, I do not know if this is open.
I would like to be able to link my whatsapp to a custom app, so I can do some process on my messages
Related
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.
I am trying to replicate examples from the Google Docs about Creating interactive cards in Google Chat. I have created a sample link in my card.
Sample card with a link "click me"
But once I hit "click me" I have no idea where the request goes and how to steer that it's routed to my publicly available Node.js express route on Google Cloud run.
I must have missed something about the basic bot communication. Can you help me? (Background. I am sending my card via a simple webhook at this point.)
I have found out, that my implementation was not suitable for interactive cards. If someone clicks an interactive card Google Chat will notify the creating bot at its API point specified in the Google Cloud configuration.
So posting the card via WebHook is possible. But there is not communication channel back in this scenario.
I resolved my issue by implementing it with a proper Google Chat bot.
Good Day
I had a Whatsapp API I used in a URL to send a Whatsapp to a specific person or group in my contact list. Below is the code I used.
https://api.whatsapp.com/resolve?deeplink=/%3Ftext%3D%252AeTrack%2BNational%2BLookout%253A%252A
It normally worked fine and no issues. Now looks like Whatsapp page has been removed. I need a similar external link to send messages from my PHP page to a whatsapp contact or group. We use either Whatsapp Web or their Downloaded app on Windows. On our Android phones the link still works and opens Whatsapp and we can select the recipient. But using Chrome and a Windows system it does not open Whatsapp anymore.
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.
I am developing social sharing plugin where I want to share my web application url in a browser using whatsapp for mobile device. I am using below code:
"whatsapp://send?text=Hello%2C%20World!"
Using above code, when I try to share without whatsapp installed in the device, it opens up a blank page.
If the user is sharing it via whatsapp and the device doesn't have whatsapp then how can we notify the user that whatsapp is not installed or redirect user to appstore or playstore to install whatsapp?