Twilio is a cloud communications platform as a service. A platform for voice, video and text. Many companies use their services. They have options so you can automate the service of sending SMS. And now they have opened the option to send by whatsapp. Many companies use it for marketing.
I do not know if there is any service at the moment that sends cryptocurrencies signals through WhatsApp. I know there are several telegram Bots. But not everyone likes to use Telegram. And I think this Twilio option might be interesting for anyone who does not want to send their cell phone number to a stranger. OR even for those who want to offer this service. Building a more practical way and using the tools available.
What You’ll Need
Before we get started, you will need to have some tools and software installed on your computer.
- Node.js – Install the LTS version for your operating system. In this tutorial, I used version 8.9.4.
- MongoDB – For my local development on Mac OS X, I used Homebrew for my local MongoDB instance. You can choose from a number of options and operating systems here. Install the latest stable version (3.6.4 at the time of writing this article).
- Twilio Account – Sign up for a Twilio account if you don’t have one already. (It’s free!)
- Postman – A tool for testing APIs. In this tutorial, we will be interacting quite a bit with our custom API, so it helps to be able to generate and modify HTTP requests on the fly.
Repository with the complete code hosted Github: https://github.com/ssenkus/coin-sms-alert.
The same API you use for SMS can now be used to send WhatsApp messages. All you have to do is update two lines of code. The API works seamlessly with TwiML and our helper libraries, allowing you to add WhatsApp to existing workflows or applications in minutes. It is also compatible with Twilio developer tools like Functions, Sync, Debugger, and API Explorer.
https://www.twilio.com/blog/2018/06/cryptocurrency-sms-text-alarms-with-twilio-and-node.htmlhttps://www.twilio.com/whatsapp