Im building a service that will send an invitation to an event through a WhatsApp group using whatsapp API.
Of course, it will require me to interact with the request to select the group and so on, which is OK, but there is no way (without expending money) for my app to "read" who will join.
I though in sending a link, which on tap, will generate an request on the guest to send me back an SMS, and then my app to "listen" and generate a database of those who agree to be in meeting (my app later will send another message to the group to confirm o cancel the meet according to the amount of people who get involved).
I think i can ask the people to send, but if i ask them to write the sms, they will not do it (lazy people).
There is a way i can write a link like "sms:myphonenumber?ImIn!" to send, so the device will build the SMS for them?
I know from a web u can do something like href:...., and will do the work for them, but not sure otherwise.
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 am developing a kind of trading android app. In the application, a user can send a request to another user through online in real time and the other user can either accept or decline it. The concept is like calling someone that if you call a person, the application will prompt him if he wants to accept or decline it. How can I implement this kind of function in my application?
a user can send a request to another user through online in real time
and the other user can either accept or decline it. ... How can I
implement this kind of function in my application?
With Google massaging system ( push notification) you can ask your server to ask google server to send a notification to the user. He will receive, when he has data connections and server and stars are aligned...
Then the other user can accept / reject, which will send a HTTP request to your server and that will notify you via presented messaging system.
The second version is to write an app, which send an SMS with an application code content, this doesn't need Internet connection, but may involve some additional costs for communication. Anyway this is the fastest safest method, in my opinion.
How to send SMS: https://www.tutorialspoint.com/android/android_sending_sms.htm
Android listen the incoming SMS:
http://androidexample.com/Incomming_SMS_Broadcast_Receiver_-_Android_Example/index.php?view=article_discription&aid=62
I have a question... I wonder, is it possible to make an application, that will read specific sms (always the same value, 2 numbers), and then delete the sms, so that the user does not see it (meaning that only the app will see it and use the data, but the user of the app will not be bothered with the information the app used)? The application would first send sms to the other device and then it would get the response in two float numbers. Is there a possibility to make that?
According to my research, there is still a need to invite users before you can add them on your group chat (via xmppchat).. I want it to be like whats on Facebook messenger style where you can add users on your group chat without the need of inviting them.. is that possible on xmpp chat? can someone lead me to a link or at least tell me hows that possible?? please.. im having trouble for a week solving this. by the way im on android.
According to XEP-0045 section 7.8, the protocol states that a user needs an invitation to a MUC.
That being said, a way to handle it is to create a webservice on your server side that acts as an administrator, and takes care of the invites.
A very general way of doing this would be (Would work for both Android and iOS):
Client tries to enter a room (first sends request to server, and sets up an invitation listener). -->>
Server checks if the user is allowed (the point of the invite, determine .if a user is allowed by your logic: e.g. userid). -->>
Server acts as an admin and sends an invite.-->>
Client side invitation listener catches that and goes into the room.
to create as less requests as possible, the Client should cache the roomid for each room he "remembers" being invited to, and check that cache before sending the request.
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.