Twitter(日本語)サンプルプログラム mbedセミナー演習4
Dependencies: EthernetNetIf mbed HTTPClient_ToBeRemoved
Diff: TwitterExample.cpp
- Revision:
- 1:c884a3b078d4
- Parent:
- 0:e3ae5f5401db
- Child:
- 2:479eff49b94e
--- 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);