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

Dependencies:   EthernetNetIf mbed HTTPClient_ToBeRemoved

Files at this revision

API Documentation at this revision

Comitter:
jksoft
Date:
Sat Aug 27 04:25:03 2011 +0000
Parent:
0:e3ae5f5401db
Child:
2:479eff49b94e
Commit message:

Changed in this revision

TwitterExample.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TwitterExample.cpp	Fri Aug 26 16:11:03 2011 +0000
+++ b/TwitterExample.cpp	Sat Aug 27 04:25:03 2011 +0000
@@ -44,8 +44,7 @@
   HTTPMap msg;
   msg["status"] = s; //A good example of Key/Value pair use with Web APIs
 
-  twitter.basicAuth("jk_bot", "162455"); //We use basic authentication, replace with you account's parameters
-  //twitter.basicAuth("myuser", "mypass"); //We use basic authentication, replace with you account's parameters
+  twitter.basicAuth("myuser", "mypass"); //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);