That's fine though as long as you don't update your twitter every 24 seconds?
Anyway, I would do it by using OAuth to sign in and then simply calling an OAuth object to (I think)
http://twitter.com/statuses/update.xml and post that along with an array (I think it's like message => 'updating twitter').
I personally use the OAuth class that's linked to on the official twitter API page. If you want I can try showing you a bit more in detail but not right now as I have some work to finish up.
But simply:
authorize via OAuth -> set tokens etc -> call on the TwitterOAuth class using tokens -> use function in the class and post to update page