I think altering the tweets is probably against the Developer TOS - it would also fail if the tweet is already 140 chars long.