This example works with express
and the twilio
library for Node.js. However, don't install the Twilio library from npm
, because we'll be applying a patch. Download the library into your archive from github:
https://github.com/sjwalter/node-twilio
Then apply the patch from the following comment:
https://github.com/sjwalter/node-twilio/issues/7#issuecomment-1736296
The following code will setup a demo application that works with node-twilio's API.
It looks as though node-twilio is no longer available at the URL you have given.