Reading Tweets and Tweeting with Ethernet

The code is doing exactly what you tell it. The variable names suggest you are trying to do setup 4 different buttons, but you only have one defined.

When pin 2 (buttonPin) is HIGH, a for() loop reads out each value of the array "buttonPressed".