Code for processing and arduino

Could someone give me a code for the arduino and processing to send data to twitter via Serial Port


I get a lot of codes when I type in google but only one partially worked, it showed no errors when I click run in processing but it just opens a small window but my twitter update does not get posted, please ask for the code if you need it.