Twitter Locations via cURL

Just a quick little piece of command line code to mess with the Twitter location API:

curl -u [username]:[password] -d "status=[statusText]&lat=[latitude]&long=[longitude]" http://api.twitter.com/1/statuses/update.xml

Just replace the [placeholders] with the appropriate data and have fun pointing your location data on Twitter wherever you want.

This will work on any system that has a working cURL installation which is available by default on almost all UNIXoid systems.