XML fetching question: Ethernet Shield

Unless you changed it, the TwitterClient sketch uses DHCP to obtain an address. Your sketch doesn't.