![](/media/cache/profiles/perfil.jpeg.50x50_q85.jpg)
Tweeter Example, this work very good!
Dependencies: EthernetNetIf mbed HTTPClient_ToBeRemoved
Revision 1:97236001fa6f, committed 2012-05-23
- Comitter:
- sherckuith
- Date:
- Wed May 23 05:25:21 2012 +0000
- Parent:
- 0:d51d63638710
- Commit message:
Changed in this revision
TwitterExample.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d51d63638710 -r 97236001fa6f TwitterExample.cpp --- 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);