Implementing WiFly Shield from Ethernet on arduino

I have a fully functional code on my arduino that uses DHCP to access the internet via Ethernet cable.

It fetches data from Twitter using the GET function.

client.println("GET http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=xxx HTTP/1.0");

it also uses textfinder library and the EthernetClient function to access the internet.

What other changes do i have to make in order to properly implement the wifly shield instead of ethernet on arduino?

Cheers!

Using another API to connect to the server, maybe even earlier to get integrated into the WiFi network. Once the connection is established the calls are almost identical to use web services as Twitter. Take a look at the examples of your preferred library (there are several for the WiFly series of shields and Bees) to see how a simple web client is implemented.