Skip to content

TelstraDev messagingAPI demo using emoji sentiment sms via a callback url

License

Notifications You must be signed in to change notification settings

telstra/sentemoji-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentemoji

Gather sentiment scoring from emojis sent to a provisioned number that will route requests through to an app for sentiment scoring.

Technology

This demo uses

  • ExpressJS
  • Socketio
  • Realm
  • TelstraDev messagingAPI
  • Emoji's

Requirements

  • 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. A provision route is included in the code so that you can generate a number if needed.

Running the demo

  • Update client_id and client_secret from Dev.Telstra.com into ./app.js
  • Run npm install to add dependencies
  • Run npm run serve to start the server
  • Send a SMS message to your provisioned app number with some emojis

Useful link