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





1 comment:

12 Sep 2012

"cannot open source input file "TCPSocketConnection.h": No such file or directory" in file "extlib/HTTPClientHTTPClient.h", Line: 27, Col: 32 i got this error