Integrate a Dozen Messaging Platforms in 5 Minutes
Connecting your bot or app available on multiple platforms can be long and tedious.
Broid allows you to do this very quickly.
1. Sign in on all the platforms you want to implement
Discord, Messenger, Slack, Twitter etc..
2. Create an nodeJS project
$ mkdir mynewapp
$ cd mynewapp && npm init
3. Add the libraries
$ npm i --save broid-twitter \
broid-slack \
broid-twitter \
broid-viber \
broid-line \
broid-kik \
broid-flowdock \
broid-callr \
broid-twilio \
broid-skype \
broid-discord \
broid-messenger \
broid-telegram \
rxjs \
ramda
4. Connect your application
Each Broid integration provides you an observable, the first part of the code can look like:
Now your application can connect to all messaging platforms.
5. Listen to incoming messages
Really simple:
At this point, your application can receive all messages coming from theses platforms.
6. Respond to an hello world message
Next we can handle a greeting in your application by responding only to a hello world message.
Easy?
You can find the code of this tutorial here.
[EDIT] You can also check out the second part “Integrate a Dozen Messaging Platform in 30 Lines of Code”
You shouldn’t spend time integrating messaging APIs. You should focus on your core product. With Broid API, get instant access to all the major messaging channels as well as our own Interactive Live Chat powered by the best conversational features available.
Broid is open-source based, check out our GitHub Repositories.
Built with ♥︎ in Montréal, Canada