Dependencies: EthernetNetIf mbed
Diff: main.cpp
- Revision:
- 2:2d0011b9bb1e
- Parent:
- 0:c292522f5311
- Child:
- 4:45a7d7fc1161
--- 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; } }