Twitter(日本語)サンプルプログラム mbedセミナー演習4

Dependencies:   EthernetNetIf mbed HTTPClient_ToBeRemoved

Files at this revision

API Documentation at this revision

Comitter:
jksoft
Date:
Sat Aug 11 14:43:36 2012 +0000
Parent:
2:479eff49b94e
Commit message:
Rev2;

Changed in this revision

TwitterExample.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 479eff49b94e -r c4c63d3336f5 TwitterExample.cpp
--- a/TwitterExample.cpp	Sat Aug 11 14:39:55 2012 +0000
+++ b/TwitterExample.cpp	Sat Aug 11 14:43:36 2012 +0000
@@ -44,7 +44,7 @@
   HTTPMap msg;
   msg["status"] = s; //A good example of Key/Value pair use with Web APIs
 
-  twitter.basicAuth("jksoft_mbed", "aaaaa"); //We use basic authentication, replace with you account's parameters
+  twitter.basicAuth("id", "pass"); //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);