SuperTweet interface driver classes.
Dependents: SuperTweet_TestProgram StarBoardOrangeExpansion1 GSL_04-Network_Twitter
SuperTweetV1XML Class Reference
SuperTweet API interface driver. More...
#include <SuperTweetV1XML.h>
Inherits SuperTweet.
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. |
Detailed Description
SuperTweet API interface driver.
(Version 0.0.1)
Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) http://shinta.main.jp/ SuperTweet driver class.
Definition at line 13 of file SuperTweetV1XML.h.
Constructor & Destructor Documentation
SuperTweetV1XML | ( | const std::string | account, |
const std::string | password | ||
) |
Create.
SuperTweet API interface driver.
- Parameters:
-
account Account name. password Password.
(Version 0.0.1)
Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) http://shinta.main.jp/ Create.
- Parameters:
-
account Account name. password Password.
Definition at line 16 of file SuperTweetV1XML.cpp.
~SuperTweetV1XML | ( | ) | [virtual] |
Dispose.
Definition at line 23 of file SuperTweetV1XML.cpp.
Member Function Documentation
HTTPResult getStatusesHomeTimeline | ( | void(*)(char *buf, size_t siz) | func = NULL ) |
[virtual] |
Returns the 20 most recent statuses, including retweets if they exist, posted by the authenticating user and the user's they follow.
- Parameters:
-
func A pointer to a callback function.
- Returns:
- Result code.
Implements SuperTweet.
Definition at line 61 of file SuperTweetV1XML.cpp.
HTTPResult getStatusesUserTimeline | ( | void(*)(char *buf, size_t siz) | func = NULL ) |
[virtual] |
Returns the 20 most recent statuses posted by the authenticating user.
- Parameters:
-
func A pointer to a callback function.
- Returns:
- Result code.
Implements SuperTweet.
Definition at line 32 of file SuperTweetV1XML.cpp.
HTTPResult postStatusesUpdate | ( | const std::string | datatext, |
void(*)(char *buf, size_t siz) | func = NULL |
||
) | [virtual] |
Updates the authenticating user's status.
A status update with text identical to the authenticating user's text identical to the authenticating user's current status will be ignored to prevent duplicates.
- Parameters:
-
func A pointer to a callback function.
- Returns:
- Result code.
Implements SuperTweet.
Definition at line 94 of file SuperTweetV1XML.cpp.
void setTimeout | ( | int | ms ) | [inherited] |
Field Documentation
const std::string URLBASE_V1 = "http://api.supertweet.net/1/" [static, protected, inherited] |
SuperTweet API interface driver.
(Version 0.0.1)
Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) http://shinta.main.jp/
Definition at line 64 of file SuperTweet.h.
Generated on Tue Jul 12 2022 20:54:58 by 1.7.2