I had left the Twitter interface code alone for awhile, until I recently decided to look at extending the Smalltalk interface into some of the new things (like lists) that they've been adding. As it happens, the old Twitter code dealt with XML, and they've since added JSON as an option.
JSON is way easier to deal with, so I swapped the entire codebase over to that. It's pretty easy to work with; I just created a small settings file (or create a settings object with my credentials in a workspace), and then I can execute stuff like this:
model := TwitterModel new.
model getLists
which gives me back:
If you want to experiment with it, or extend the code, load the Twitter package (not the bundle) from the public store repository.
Technorati Tags:
twitter, social media