“
The most basic use of the Twitter API is to send a status update message to your account. Here’s an example of how to do that:
curl –basic –user “$user:$pass” –data-ascii “status=testing123” http://twitter.com/statuses/update.json
”