I see there are many threads on
How to send whatsApp message without opening WhatsApp?
All the answers lead to either of these two options:
Open whatsApp -> select contact. Message set in intent would be sent to that contact.
Open whatsApp with specific contact -> paste manually the message set in intent and hit send.
So, there is no option provided by WhatsApp to directly send a message to contact completely in background.
If this is so, then how GoogleNow is able get hold of this unavailable service of whatsApp?
If it is a new service opened up in google or whatsApp, can I get pointers so I could use this in my app?
WhatsApp doesn't have any information about it, and doesn't have any API.
Refer to these discussions:
WhatsApp's philosophy is to push storage down to devices, rather than doing central server based message storage. This means the API needs to live on the device as well.
Because "WhatsApp does not want to inundate users with messages they don't want to see", per Brian Acton in the latest F8 conference. While that may be sad for developers, I think it's a good decision.
WhatsApp's appeal is private, human, group conversations. It does that extremely well and for more than a billion people. Disturbing that would be risky.
Several companies around the world could benefit on developing customer service apps through WhatsApp.
And in the official page of WhatsApp there's only these information about integration (which is actually an Android System function).
I think what GoogleNow really does is handle the events of the system, Google has Android so there is no problem for them to know all the events and actions that can be integrated into the system when having an app installed.
So, is not possible for us (unfortunately) do that yet. We'll have to wait to WhatsApp to elaborate some API.
Related
I want to send WhatsApp messages in bulk, meaning my goal is that if the user gives me consent. I will be able to connect to his WhatsApp and send WhatsApp messages to a list of numbers that I will provide. Note: I don't want the user to leave my app, meaning I don't want the regular functionality that the WhatsApp app is opened with the number. I want that after the user's consent, I will be able to use the user WhatsApp to send around 200 WhatsApp messages automatically without leaving my app.
I saw the related answers each one did not work for me.
first answer - the regular functionality that just opened WhatsApp.
whatsapp flutter lib from what I saw, I can not send messages to a user who does not have WhatsApp for business.
android send whatsapp I saw this message that will allow me to do this in android only, and I need to find a way to write a custom function in Kotlin or Java to make it work.
flutter whatsapp - I saw the answers, but none of them told me if I could send a bulk of messages without opening the actual app.
I should note: there me be another approach that can work. Create a shortcut programmatically for ios, which will allow me to create a shortcut that will include the list of numbers with the text and activate the shortcut. But I could not figure out also how to do so.
On the apple form, someone asks this question and does not answer.
swift create a shortcut
tech: flutter, firebase
You will need to see what APIs WhatsApp has available that you can utilize. There isn't a current way to just send bulk messages directly from your app and they get sent in whatsapp. You need to work with WhatsApp's APIs to accomplish what you are trying to do.
I have read some articles and according to them, WhatsApp has no API for developers for sending personal messages. Though when I type
send a WhatsApp message in Google Assistant(Android mobile device) it shows a simple UI to choose a contact and type a message and a send button to send it directly from the assistant.
I also want to do this kinda thing with my messaging app.
My questions are
How to achieve this?
Has WhatsApp done this thing from their side to do this or Google Assistant did this?
Note: Not only WhatsApp I have noticed the same thing for the preloaded SMS messaging app in android devices.
Edit: The possible duplicate found has nothing to do with my question because it doesn't relate google assistant functionality.
Have you come across this answer?
https://stackoverflow.com/a/46683818/3138726
This would require user consent though. It will open up the screen with prefill text for that contact.
actually google got a permmesion from whatsapp company to do this, that is not possible to send messages from your own application
I see that recently many apps are allowing you an option to get activated via whatsapp. Some apps are allowing you to transfer money using whatsapp in similar fashion.
As soon as I write some keyword in someone's chat window in whatsapp that wallets chat head appears and it already knows who I'm talking to and gives me an option to send money to that contact.
I was wondering how can you do that in android? and is it even legal?
We are planning to create a customer care application which takes the messages sent to our whatsapp number and respond to them via application. It will be handled with different agents.
The only problem is the way to handle whatsapp messages. This is easier in other messengers. Since Whatsapp doesn't have an official support for business, we need to find a way to do it. I know there are some software with such functionality. How do they do that? Below are some of the application which acts as a customer support using messengers.
https://www.casengo.com/whatsapp-customer-service-and-support-software/
https://ongair.im/
https://orat.io/
Is it possible to send message using the WhatsApp server to a WhatsApp group,
inside my own application and without opening the WhatsApp app?
Also please help me regarding the history of WhatsApp contact chat.
in short NO
Reason: because (at least to my knowledge) Whatsapp does not allows the same. i.e. no external events or APIs to implement the same. So you have to at least use the intents and let the user handle the rest.
Also please help me regarding the history of WhatsApp contact chat.
This also can't be done (using ethical approach) because all the chat history is stored in a private database which is not revealed to the external apps by the Whatsapp application and also potentially violates the users privacy.