The DevBlog documents all developments and promotions that relate to the TM4B Bulk SMS Gateway and its associated services 70589.INFO & T4ME.
Summary: |
The SMS Auto-Responder can now return content retrieved from URLs. |
Category: |
New Features |
Link: |
www.tm4bhelp.com/dev/p-22.php |
Details: |
To simplify the development of dynamic two-way applications, the SMS Auto-Responder can now be used to return content generated from a remote web-server. Prior to this addition, the essence of interactive applications has been restricted to the combination of API-Client and Client-API interactions. And, whilst we still recommend experienced developers to continue that way, this new approach simplifies the whole structure of two-way applications greatly. Non-experienced developers can now have interactive two-way applications set up within minutes as all that is now required is to process an HTTP request and print the dynamic content to screen. As a simple example, the message body "London Weather" would be passed over using HTTP Post (e.g. "msg=London+Weather"). The application would then, through its own means, print the dynamic content to screen (i.e. London's weather), e.g. "As usual, the weather in London is cold and rainy! Thanks for your message." Our messaging platform will then retrieve the content printed to screen and send it back to the original sender using the least expensive route. Please note that, although this method of developing interactive applications is very fast and easy, we still recommend experience developers to develop according to the SMS API, combining API-Client and Client-API interactions (i.e. receive an MO SMS, buffer it, query the most suitable route for the response and then respond to it). A tutorial 'How to activate/configure an SMS Responder using content from a URL' has also been added to the Knowledge Base for those that wish to use this feature. |