Read Direct Messages (Show case)
Play direct messages from the followers on Twitter.
Step 1:
Set the twitterusername and twitterpassword using Variable node.
Step 2:
Use JSON I/O to get the direct message from the given url.
This URL returns values containing all the direct messages in desired JSON format.
Ex:
{"JSON": [{"from1": "invox"}, {"datetime1": "feb 4th 2010"}, {??message1??: ??we launched pbxplus??}, {"from2": "Jhon"}, {"datetime2": "feb 3th 2010"}, {??message2??: ??we are using invox??},...]}
Step 3:
Use Play Message node to play the Direct Messages.
Send Direct Messages
Prompt caller to say a follower name and send the recorded voice transcribed as a direct message.
Step 1:
Set the twitterusername and twitterpassword using Variable node.
Step 2:
Use the JSON Grammar to get the followers for the twitter username and password.
This URL returns the JSON containing all follower names.
Ex: {"grammar":[{"Carla Munoz":"CarlaMunoz"}, {"Fran Fitzgerald":"Fitzgerald"},...]} Invox will prompt the caller to say a follower name from the above list.
Step 3:
Use Transcribe node to record the message and post the results to URL which sends a direct message.







