PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WM17] - How to integrate Whatsapp in WinDev APK
[WM17] - How to integrate Whatsapp in WinDev APK
Débuté par Yogi Yang, 05 mai 2015 07:18 - 15 réponses
Posté le 05 mai 2015 - 07:18
I a software that I am developing for Android.

I want to integrate messaging through Whatsapp. Currently I am using SMS to send messages but at times the message quantity is very large and sending them as SMS proves to be very costly.

Has anyone managed integrate Whatsapp in their WM build app?

Please guide me.

TIA

Yogi Yang
Posté le 05 mai 2015 - 11:20
<a class="ExternalLink" rel="nofollow" target="_blank" href="http://stackoverflow.com/questions/16954712/android-whatsapp-chat-examples">http://stackoverflow.com/questions/16954712/android-whatsapp-chat-examples</a>
Posté le 06 mai 2015 - 15:49
Thanks for the link but the question is closed and there is no useful information there. <img src="/NG2013_WEB/ui/smiley/2.gif" align=absmiddle border=0 alt=":(">.

If there are any other resource please point me to the same.

TIA

Yogi Yang
Posté le 06 mai 2015 - 16:35
As far as i know Whatsapp doesn't provide an API for that.

The only way described in their site is this one for android:
https://www.whatsapp.com/faq/android/28000012
and for IOS:
<a class="ExternalLink" rel="nofollow" target="_blank" href="http://www.whatsapp.com/faq/pt_br/iphone/23559013">http://www.whatsapp.com/faq/pt_br/iphone/23559013</a>

You can find some non offical API but their use is probably forbidden by them, check it.
Posté le 06 mai 2015 - 17:23
I have checked all these things.

But the info is very limited and practically not usable as far as WD or WM is concerned.

I am studying this: <a class="ExternalLink" rel="nofollow" target="_blank" href="https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0">https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0</a>

It is in Python, base on Yowsup Lib and has support for all Whatsapp features.

Will have to spare more time to study it and try to implement its coding in WM :mad:

TIA

Yogi Yang
Posté le 06 mai 2015 - 19:21
II don't know how many messages you are goind to send and to how many recipients but be carefull with their policies.

You or your clients may be banned

<a class="ExternalLink" rel="nofollow" target="_blank" href="http://www.whatsapp.com/faq/en/general/23154266">http://www.whatsapp.com/faq/en/general/23154266</a>
Membre enregistré
1 message
Posté le 22 décembre 2022 - 14:57
You can use WhatsApp APIs if Windev Don't have there own APIs for the WhatsApp messages integration.

or you can also use this [fm whatsapp apk](https://gbapps.net/fmwhatsapp-apk-download/)
Message modifié, 22 décembre 2022 - 14:57
Posté le 09 novembre 2023 - 07:58
have checked all these things.

But the info is very limited and practically not usable as far as WD or WM is concerned.

I am studying this: <a class="ExternalLink" rel="nofollow" target="_blank" href="https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0">https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0
It is in Python, base on Yowsup Lib and has support for all [url=https://Gbwhatsapp.net]Whatsapp[url] features.

Will have to spare more time to study it and try to implement its coding in WM :mad:
Posté le 09 novembre 2023 - 08:03
You can use WhatsApp APIs if Windev Don't have there own APIs for the WhatsApp messages integration.

or you can also use this [fm whatsapp apk](https://Gbwhatsapp.net/fmwhatsapp-apk-download/)
Posté le 13 janvier 2024 - 14:48
I have checked all these things.

But the info is very limited and practically not usable as far as WD or WM is concerned.

I am studying this: [https://scarletios.net/]

It is in Python, base on Yowsup Lib and has support for all Whatsapp features.

Will have to spare more time to study it and try to implement its coding in WM
Posté le 06 février 2024 - 13:37
Integrating WhatsApp functionality into an application developed with WinDev Mobile involves leveraging the external capabilities provided by WhatsApp, such as the WhatsApp API for business or using URI schemes for basic interactions. WinDev Mobile, developed by PC SOFT, allows you to build applications for various platforms, including Android (APKs). However, directly integrating WhatsApp into your APK requires following specific steps, as there isn't a direct WinDev component for WhatsApp integration. Here's a general approach to integrate basic WhatsApp features:

Use the WhatsApp URL Scheme: For basic integration, like sending messages from your app to WhatsApp, you can use the WhatsApp URL scheme. This doesn't require WhatsApp API but has limited functionality.

- To send a message to a specific number, you can use an action like this in your WinDev Mobile code:
```wdl
sURL is string = "https://wa.me/15551234567…=" + URLencode("Your message here")
ShellExecute(sURL)
```
Replace `15551234567` with the target phone number and `"Your message here"` with your message. `ShellExecute` or an equivalent function in WinDev Mobile can be used to open this URL, which will prompt to send the message via WhatsApp.

WhatsApp Business API: For a more integrated solution, such as sending automated messages or creating a chatbot within your app, you would need access to the WhatsApp Business API. This is more complex and requires approval from WhatsApp.

- This integration involves setting up a WhatsApp Business account, getting API access, and then using HTTP requests to send and receive messages. The code for integrating the WhatsApp API would depend on the backend you're using with your WinDev Mobile application. Typically, you would send HTTP requests to the WhatsApp API endpoints from your server.

Implementing in WinDev Mobile: Since WinDev Mobile doesn't have built-in support for WhatsApp integration, you'll likely need to handle most of the logic on the backend or through external calls as described above. Ensure your app complies with WhatsApp's policies and guidelines, especially for automated messaging. Moreover, iOS audience can visit the (https://scarletiospro.com/) website to know about how to install WhatsApp through scarlet app.

4Testing and Deployment: Test your WhatsApp integration thoroughly in development before deploying it. Make sure to handle errors gracefully, such as WhatsApp not being installed on the user's device.

Stay Update WhatsApp and its API evolve, so keep an eye on any changes to the API or terms of use that might affect your integration.

For detailed implementation, especially if you're looking into more advanced features or using the WhatsApp Business API, refer to the official WhatsApp documentation and the WinDev Mobile documentation for handling external APIs and URL schemes.
Posté le 18 mars 2024 - 12:02
Posté le 18 mars 2024 - 12:03
Posté le 01 avril 2024 - 16:00
<a href="https://vimusic.cc/">vimusic</a> is the Most Popular Music Streaming App of 2023. Download ViMusic Mod APK’s latest Updated Version for Android Devices, and enjoy the next-level Free Music Streaming experience.
Posté le 22 avril 2024 - 12:29
<a href="https://fouadwtsap.com/fouad-whatsapp-ios/">fouad whatsapp ios</a>
Posté le 24 avril 2024 - 12:12
You will get the answer of your this query from the Net worth art.