Dependencies:   EthernetNetIf mbed

Files at this revision

API Documentation at this revision

Comitter:
donatien
Date:
Mon Jun 21 09:06:18 2010 +0000
Parent:
1:318a00501839
Child:
3:1d4c6e8a1207
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jun 18 10:37:00 2010 +0000
+++ b/main.cpp	Mon Jun 21 09:06:18 2010 +0000
@@ -1,4 +1,11 @@
 // RFID Tweeter
+/*
+  Update: 21-06-2010
+  The basic authentication service for twitter is going down at the end of the week.
+  To continue using that program, the code has been updated to use http://supertweet.net which acts as an API proxy.
+  Simply visit the website to setup your twitter account for this API.
+  See: http://www.supertweet.net/about/documentation
+*/
 
 #include "mbed.h"
 #include "ID12RFID.h"
@@ -31,7 +38,7 @@
         HTTPMap msg;
         msg["status"] = names_list[i];
         msg["status"] += " just arrived home!";
-        HTTPResult r = twitter.post("http://twitter.com/statuses/update.xml", msg, NULL);
+        HTTPResult r = twitter.post("http://api.supertweet.net/1/statuses/update.xml", msg, NULL);
         tweet_ok = !r;
       }
     }