Does anyone know of any resources for getting started with receiving tweets, rather than sending?
The twitter library seems to primarily serve tweeting from the arduino, and the examples of receiving tweets I've found don't share their code.
The main problem with receiving twitter messages on the Arduino is, that you need to parse the twitter data stream. Given the limited memory and bandwidth of the Arduino, this poses a serious challenge. For this reason, most solutions (like for example this Christmas tree have the twitter stream processed on a PC, which then only sends a command to the Arduino to react. All the complexity of parsing the twitter stream and select the correct messages resides on the PC.
If you really want a stand alone solution, I guess the Arduino isn't the right platform.
Sending on the other hand is relatively easy, as you just need to print a pre-formatted block of data and don't care much about what the server has to say.
Korman
Thanks, Korman! I found this project that looks promising… it uses the wifly and json gets:
I should be able to adapt this to suit my needs, as I'm looking to generate and use metrics such as public tweets per minute.
The key in all these projects is to keep the ram need of the parser low enough for the Arduino. Also note that the search strings are put into PROG_MEM to further reduce the RAM need.
Korman