An arduino can run both client and server code at the same time. Sounds like you want the server to evaluate data submitted via a form in a web page, and then have the arduino client pass that data to a tweet server. It also sounds like you want the arduino evaluating its inputs and also pass that data on to a tweet server. If this the case, have you worked on any of these particular parts?