Using the Telstra Messaging API in NodeJS to send a MMS image generated from Inspirobot.me
This code uses the NodeJS SDK to send a MMS via Dev.Telstra.com API's with totally random images from Inspirobot.me
This demo uses
- NodeJS
- Valid and active client_id and client_secret from Dev.Telstra.com.
- A valid and active mobile number subscription against the demo app using the povisioning API, as part of this you will need to register the webhook callback for where the script is running (Note: this will have to be a public available url).
- Update client_id and client_secret from Dev.Telstra.com into ./app.js
- Run
npm install
to add dependencies - Run
Node app.js
to start the server - Send a SMS message to your provisioned app number (anything at all) to trigger a Inspirobot.me response back.