Hey, I am a big fan of Instructables. I have consistently used it for the past 3 years and now its time for me to write one myself.Here we go. This instructable is for those who want to make some inanimate object tweet automatically. Like say for example you are building a robot and you want the robot to tweet to you or to the world. This obviously means your robot needs to have access to the internet and should have a logic controller. This instructable is specifically about how to use an arduino (logic controller) with wifi shield (the stuff that connects to the internet) to tweet to the world.
Hope you will find it useful.
Step 1: Arduino – whats it? (skip if you know)
If you want to get a feel for what are arduino used for and want to spark some ideas – check this out – http://www.instructables.com/technology/arduino/
Here the official arduino website- http://www.arduino.cc/ (you might be a little overwhelmed if you are a complete newbie with electronics. In which case you might want to check out the intro to arduino instructable first)
The picture shows two of the most popular arduinos
Step 2: Wifi Shield – whats it? (skip if you know)

Step 3: Testing wifi shield
I am going to be using an arduino uno r3 for this instructable. With the arduino uno r3 all you have to do is press fit the shield on uno and you are good to go. If you are using a mega or an older version of uno – you might want to follow instruction on the official wifi shield getting started page – http://arduino.cc/en/Guide/ArduinoWiFiShield
You can test your wifi shield running one of the example codes on wifi library. Run the “scan network” example code which searches for available wifi signals and displays them.
Step 4: Get Twitter Library
First you need to get the twitter library and add that to your arduino software. You can get it from here. http://www.arduino.cc/playground/Code/TwitterLibrary
When you go through that you will notice that specific library works with an ethernet shield not with the wifi shield. The community has not updated it yet. The wifi shield is a new player. Dont worry go ahead and install the library as instructed in the link.
if you are on linux – go to this folder – /home/<user name>/sketchbook/libraries. If libraries folder does not exist dont panic. Just create it.
On restarting the arduino IDE , if you can see the twitter library, then your twitter library is successfully installed. You can see the twitter library under sketch tab import library-> twitter (listed at the bottom under contributed)
Read more: How to tweet from an Arduino using the wifi sheild