Tweeter Example, this work very good!
Dependencies: EthernetNetIf mbed HTTPClient_ToBeRemoved
Diff: TwitterExample.cpp
- Revision:
- 1:97236001fa6f
- Parent:
- 0:d51d63638710
--- a/TwitterExample.cpp Wed May 23 05:24:17 2012 +0000 +++ b/TwitterExample.cpp Wed May 23 05:25:21 2012 +0000 @@ -30,7 +30,7 @@ HTTPMap msg; msg["status"] = "I am tweeting from my mbed!"; //A good example of Key/Value pair use with Web APIs - twitter.basicAuth("sherckuith", "spartano3"); //We use basic authentication, replace with you account's parameters + twitter.basicAuth("xxxxxx", "xxxxxx"); //We use basic authentication, replace with you account's parameters //No need to retieve data sent back by the server HTTPResult r = twitter.post("http://api.supertweet.net/1/statuses/update.xml", msg, NULL);