Section 11.1. Twitter Overview

Using Twitter to Build a SMS Service > Twitter Overview

Chapter 11. Using Twitter to Build a SMS Service

Twitter (http://twitter.com) is a social networking service that allows users to broadcast their goings-on to one another via SMS (as well as email and instant messenger). Its API is described at: http://twitter.com/help/api and a healthy developer community has grown around its API at http://groups.google.com/group/twitter-development-talk/web/api-documentation.

11.1. Twitter Overview

Fundamentally, Twitter is about updating your status you tell Twitter what you're doing, and it tells all your friends.

For example, let's say you and I have registered with Twitter and we've marked each other as friends. If I were to send this SMS to Twitter's short code (40404):

I'm working on my SMS guide!

You and all my other friends on Twitter would receive an SMS from 40404 that reads:

Jordan : I'm working on my SMS guide!

Twitter also lets you send direct messages to specific users by prefacing a message with the letter "d" followed by the recipient's user name, or handle. So, if instead of sending a general "tweat" (that's what they call status update messages like the one above), I sent this SMS to Twitter:

d BrianR How's the sample code coming along?

my co-author Brian (and only Brian) would receive this message:

direct from JojoSchwa: How's the sample code coming along? (reply? Send: d JojoSchwa hi.)

 

 



How to Build an SMS Service
How to Build an SMS Service
ISBN: 789742233
EAN: N/A
Year: 2007
Pages: 52
BUY ON AMAZON

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net