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.
Related
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?
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.
Im new to programming in especially android so please assume I know very little. So I have this app in which the user types in their email, name and their question and sends all this information to a website in which I can see all this information so that i can give an appropriate response. I then send my answer and the user can then see the answer in their application to their question.
Im using android studio and I have to create an activity or something that will generate/ show a notification automatically( without any user interaction) after I answered their question. How can I do this?
You should use Google Cloud Messaging Library for achieving this.
So, when you answer any question, it will send push notification to user on device (like whatsapp) and when user click on that, it will open your answer over there, so user can read it.
Here is library link with sample as well:
https://github.com/google/gcm
I wanted to create a chat browser that would send the message to an android app. For example, I do not have an app that my friend uses. However, I don't want to install the app. I will use this browser to send the message to my friend in his app. And when my friend gets this message in his app and he replies from his app, Me on the other hand will receive the message in this browser.
Are you developing both apps? If so, check out something like Firebase: https://www.firebase.com/. It is suited for exactly what you are looking for. Real-time updates to all clients that are connected.
These neat little App_Script created for Android with browser compatibility should do the trick. This takes both an input box and a message box.
Doing the desired function of sending and recievings Messages.
Documentation here
you will need to be in the same source Code as the other user or a mirror App like viber on the example you provided, on the other hand you could create an application to send regular texts to mobile phones, but that's another subject.
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.