Twitter Spellcheck Bot


Here's a small Lily program that lets you check the spelling of a word from your cellphone- it uses the Twitter API to send and receive messages from the cellphone and the Yahoo Suggested Spelling web service to look up the spelling. To use it you'll need two Twitter accounts- one for Lily and one for yourself. You'll also need to enable your cellphone in the Twitter account settings. In the patch you'll need to add your Twitter user/pass as an argument to the twitter object.

Once you're setup, run the spellchecker by texting "d <your-lily-account-name> <word-to-check>" to 40404. You should receive an SMS back from Lily with the correct spelling shortly.


The new twitter object implements most of the api methods, including the direct message feature which I'm using in this patch. The code also includes an example of doing basic auth with xmlhttp. You can download it and the twitter spellchecker patch here.


TrackBack

TrackBack URL for this entry:
http://blog.lilyapp.org/bobo/mt-tb.cgi/14

Listed below are links to weblogs that reference Twitter Spellcheck Bot:

» Twitter Spellcheck with Yahoo Spelling Suggestion API from Yahoo! Developer Network blog
Since all the kool kids are twittering these days, this little app might be of interest: Here's a small Lily program that lets you check the spelling of a word from your cellphone--it uses the Twitter API to send and... [Read More]

Comments (1)

Ping from the Twitter Community and Forums

http://www.twittown.com

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on April 14, 2007 11:05 PM.

The previous post in this blog was HTTPD.

The next post in this blog is Lily OSC.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34