Your SlideShare is downloading. ×
2011 1-11 txt web push and response
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

2011 1-11 txt web push and response

533
views

Published on

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

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

Published in: Technology, Business

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
533
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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