Send data posted on server to contact on Whatsapp and phone - objective-c

Suppose I have a form that needs to be filled by the user including phone number.
After the data is entered, it will be stored on server side.
Now what I want is to send each of the contact stored on server, some of the details filled by him like some text or image. And this things would be sent automatically on his phone as SMS and also on Whatsapp if he has installed in his mobile.
Thanks in advance.

Related

Insert data in DB from e-mail

I am developing a Sign-In APP in flutter with de following fields.
APP data
This data is collected and sent via e-mail, since this data has to be validated by a physical person and then inserted into a DB. The e-mail is sent from the application to Gmail, in this case, using the emailjs API fo flutter, at first this part is done and running well.
They want to automate the writing of the data in the DB, postgresql in this case, with a click or a URL inside the email, that is to say that until a person does not give the Ok nothing is written in the DB. Does anyone know how to do it?
Thanks!

WhatsApp Business api cloud: How do I register a Customer's phonenumber via api?

Currently, I am using WhatsApp Business api cloud on one of my web project, I would like to register a customer's phone number but via api instead through meta, developer platform like following:
"Here is the image to register customer's number in the meta developer platform"
I want do this:
(managing the phone numbers)
but via api, and later of that send the verification code via api as well.
If someone can help me , telling me if that is possible and sharing documentation or the endpoint I would appreciate it very much, I've been looking at the documentation and postman's examples for 2 days without any success.
I'm sorry I didn't share the pictures directly, it is my first question on Stackoverflow
Thanks in advance,
Greetings!
I guess you are using WhatsApp provided a test phone number in From, you need to read this, https://developers.facebook.com/docs/whatsapp/cloud-api/get-started#sent-test-message
Enter the recipient phone number you would like to message in the To field. Ensure the number is correct, and that you want to add it to your list of 5 possible message recipients —as you add phone numbers, follow the prompts on the screen to verify you have access to them. Once this number has been added, it cannot be removed from your list.
Note: This limitation is only for WhatsApp-provided test phone numbers. Real phone numbers that you register do not have a limit on the number of recipients.
You don't need to register receivers' phone numbers if you are using your own real business phone number in the sender's phone number.

SMS Retriever API - phone picker source

Does Google's SMS Retriever API get the list of phone numbers from the SIM lines on the user's device (which means that it's similar to TelephonyManager), or from the user's Google Play account?
I'm the product manager at Google for this API. Yes, as of the latest version of Play Services, the Phone Selector shows both the phone number for the device from the TelephonyManager (if it can be parsed as as a valid phone number) as well as recent phone numbers for the active Google Accounts on the device.
This is not directly addressed from the docs but if we infer from this statement in the Obtain the user's phone number:
Often, it is the best user experience to use the hint picker to prompt
the user to choose from the phone numbers stored on the device and
thereby avoid having to manually type a phone number
we can deduce that SMS Retriever API gets the contacts from your device.
Update
Please look at #Steven Soneff's answer
The numbers are retrieved from Smart Lock for Passwords on Android. They are retrieved if the user already stored it using Smart Lock else they will be empty. You may also ask the user to store the number for future use-cases using Smart Lock for Passwords.

Sending sms programatically to one number on windows phone 8.1

Is there any chance to send sms only to one specified phone number?
I know that it must be executed only with native text editor (SmsComposeTask or ChatMessageManager), but is it possible to block addition of another recipients phone numbers?
Thanks in advance
The answer is basically NO.
Once you open the SMSComposeTask then basically your APP does not have any control over it.
The user can change recipients or even the text.
If you do want this then : one way to overcome this would be to send the message from the server by connecting to a web service. So the SMS goes from the server and not from the phone.

Building a GPS Tracking Web System

I'd like to develop a tracking system using an API of course (like the famous Orange API).
the idea is simple:
I send a SMS (from my Web interface) to the person i want to track
The person's mobile terminal (GPS like this) send me back automatically
the coordinates by SMS.
The sent information are displayed on the user's web interface.
The questions are simple:
How the terminal can send automatically the response?
How to indicate in the message that the information is for "user4655"?
How to make connection between the information and the database?
Thanks,
Regards.
* How the terminal can send automatically the response?
Ans: You set the gateway and the time intervals you want the device to send the sms to on the device itself.
* How to indicate in the message that the information is for "user4655"?
Ans: The gateway you use will have the API to determine that the number it is sent from. The device will use a registered phone number from either a sim or enabled by one of those cell providers.
* How to make connection between the information and the database?
Ans: I dont understand this. But I'm guessing you will have a database to keep track of the user data. You'll just probably need another table that is a child of the user, which has a list of the data and the time they came in.