Twitter Controlled Arduino Output


I am an Intel Edison user. I am hacking a coffee machine. It works with a relay and everything is fine but I am stuck at some point and I do need your help.

I want this machine to be controlled from my twitter time-line. I want my Edison to read my tweets and when it finds the specific "coffee" word, It'll start working. I tried some stuff but could not be able to do it.

Any advices?