Recent changes
Slingshot user guide
tag Guide, user
NFCLamp user guide
tag Guide, user
Homepage
MPL115A2
Compiler Error 42
From the mbed microcontroller Cookbook.  

SuperTweet

API

http://mbed.org/users/shintamainjp/libraries/SuperTweet/latest

» Import this library into a program

Public Member Functions

SuperTweet (const std::string account, const std::string password)
Create.
virtual ~SuperTweet ()
Dispose.
void setTimeout (int ms)
Set timeout.
virtual HTTPResult getStatusesUserTimeline (void(*func)(char *buf, size_t siz)=NULL)=0
Returns the 20 most recent statuses posted by the authenticating user.
virtual HTTPResult getStatusesHomeTimeline (void(*func)(char *buf, size_t siz)=NULL)=0
Returns the 20 most recent statuses, including retweets if they exist, posted by the authenticating user and the user's they follow.
virtual HTTPResult postStatusesUpdate (const std::string datatext, void(*func)(char *buf, size_t siz)=NULL)=0
Updates the authenticating user's status.

Static Protected Attributes

static const std::string URLBASE_V1 = "http://api.supertweet.net/1/"
SuperTweet API interface driver.

» Import this library into a program

Public Member Functions

SuperTweetV1XML (const std::string account, const std::string password)
Create.
virtual ~SuperTweetV1XML ()
Dispose.
virtual HTTPResult getStatusesUserTimeline (void(*func)(char *buf, size_t siz)=NULL)
Returns the 20 most recent statuses posted by the authenticating user.
virtual HTTPResult getStatusesHomeTimeline (void(*func)(char *buf, size_t siz)=NULL)
Returns the 20 most recent statuses, including retweets if they exist, posted by the authenticating user and the user's they follow.
virtual HTTPResult postStatusesUpdate (const std::string datatext, void(*func)(char *buf, size_t siz)=NULL)
Updates the authenticating user's status.
void setTimeout (int ms)
Set timeout.

Static Protected Attributes

static const std::string URLBASE_V1 = "http://api.supertweet.net/1/"
SuperTweet API interface driver.

Library

» Import this library into a programSuperTweet

SuperTweet interface driver classes.

Example application

» Import this programSuperTweet_TestProgram

A test program for my SuperTweet driver classes.

References




calendar Page history
Last modified 28 Oct 2010, by   user Shinichiro Nakamura   tag No tags | 0 comments  

Please login to post comments.