Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2011 1-11 txt web push and response


Published on

This presentation describes "How to construct HTML responses " and use "PUSH Service" on txtWeb

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

2011 1-11 txt web push and response

  1. 1. txtWeb<br />Imagine the Internet and more on SMS<br />Visit us at<br />
  2. 2. AGENDA<br />Quick recap from the last webinar<br />How to construct HTML responses for txtWeb<br />How to use the txtWeb PUSH API to build apps on the platform<br />Q and A<br />2<br />
  3. 3. txtWeb platform – How it works<br />3<br />High level architecture <br />txtWeb<br />Platform<br />1<br />4<br />Phone Carrier<br />Internet<br />2<br />3<br />SMS<br />HTTP<br />SMS<br />HTTP<br />5<br />8<br />6<br />7<br />Developer APP<br />txtWeb platform enables creation and consumption of interlinked information through SMS<br />
  4. 4. txtWeb platform – Example<br />4<br />Step1: SMS to 92433 42000<br />Message: dictionary happy<br />Mobile number : 9991211212<br />Step 3: HTTP Request: GET<br />URL:/dictionary? Message=happy & Mobile number: <hash><br />Step 2: Accepts keyword and invokes the App URL<br />Step 4. App<br />Specific logic<br />DeveloperApp<br />txtWeb<br />Platform<br />Phone Carrier<br />Internet<br />SMS<br />HTTP<br />SMS<br />HTTP<br />Externally Hosted Environment <br />Step 5: HTTP RESPONSE: 80<br /><html> Happy is the same as joy </html><br />Step 6: SMS to9991211212 <br />Happy is the same as joy<br />
  5. 5. Platform advantages <br />Simple, easy, open API<br />Platform is programming language agnostic (use what you fancy – Java, PHP, Perl, Python)<br />Platform provides SMS ⇌ HTTP transformation <br />Makes developer’s life simple for delivering web app over SMS <br />Developer focuses on building an HTTP based app<br />No coding work to “integrate” with txtWeb platform<br />Rapid development – Build, test and go live in no time!<br />Emulator provides easy/instant testing<br />Nothing to download for an end-user to use your app – SMS and go!<br />5<br />
  6. 6. Constructing HTML responses<br />txtWeb Responses /Interactions can be of 3 types<br /> A. txtWeb Menu(akin to a list box)<br /> B. Accepting text input from the user(akin to a text box)<br /> C. Embedded links in the message(akin to hyperlinks )<br />6<br />
  7. 7. TxtWeb Menu<br />The platform takes care of session management<br />Options are shown as letters of the English alphabet .<br />They remain valid for a user till the 26th option after which it circles back.<br />The option to be shown to the end user has to be embedded within HTML links (ahref tags)<br />The option is preceded by class description as “<txtweb-menu for>” tag to let the platform recognize that it is a menu item<br />7<br />
  8. 8. Getting Input from the User<br />8<br />Construct a simple html form <br />Have a text box to accept input<br />Have a small submit button<br />The input accepted by the text box is converted to an option on the mobile to accept input from the end user.<br />The submit button translates to sending the input to the app.<br />The input instruction is preceded by class description as “<txtweb-for >” tag to let the platform recognize that it is a menu item<br />
  9. 9. txtWeb Links<br />9<br />Very similar to having href link in a html page<br />The URL is surrounded by href tags.<br />The platform removes the href tag and replaces an option against the word.<br />
  10. 10. PUSH service implementation<br />txtWeb PUSH service can be used to <br />A. Push notifications to end users.<br />B Sending alerts and reminders.<br />C. Act as channels to users post registration.<br />10<br />
  11. 11. How to implement PUSH?<br />Make a HTTP post request using the API –<br />-<br />Three parameters to be passed-<br />txtWeb-mobile<br />txtWeb-pubkey<br />txtWeb-message<br />txtWeb-mobile works for numbers which have used txtWeb atleast once and haven’t opted out of the service.<br />txtWeb message has to be URL encoded<br />Response is returned as XML – 0 denotes success<br />11<br />
  12. 12. LIMITS ON PUSH SERVICE<br /> No more than 5,000 in a day<br /> No more than 50 in a day to a single mobile number<br />No more than 5 in a batch to a single mobile number<br />12<br />
  13. 13. Questions Please!!<br />13<br />