Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use whatsapp in my app for sending message

I want to use whatsapp in my app to send message to other phone. I have seen this public API for whatsapp on Github, here. But I dont find that API for iOS. So is that possible to use whatsapp in iOS app? And is that legal? And where can I find public API of whatsapp for iOS?

like image 985
Renish Dadhaniya Avatar asked Mar 07 '13 08:03

Renish Dadhaniya


People also ask

Can I use WhatsApp as my texting app?

WhatsApp is a free, multiplatform messaging app that lets you make video and voice calls, send text messages, and more — all with just a Wi-Fi connection. With over 2 billion active users, WhatsApp is especially popular among friends and family who live in different countries and want to stay in touch.

Can I use WhatsApp API to send message?

Install the WhatsApp Business API Client — Install your API client. Once your client is working, you can update your application settings. Start using the client — Register your phone number with an API call to /account and send a test message with a call to /messages .

Can you use WhatsApp to message someone without WhatsApp?

Users can chat with someone on WhatsApp without saving them as a contact by making use of WhatsApp's click to chat feature via an internet browser. WhatsApp is one of the most popular messaging services in the world and is used by millions of people.


1 Answers

yes, you can use the whatsapp for sending text/ images through you ios app. there are two ways to do so 1. URL scheme

NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"];
if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) {
    [[UIApplication sharedApplication] openURL: whatsappURL];
}
  1. UIDocumentInteraction see the link below http://www.whatsapp.com/faq/en/iphone/23559013
like image 115
NSAnant Avatar answered Sep 30 '22 03:09

NSAnant