From 0ccac89815ee92c69fefc148cfb272faf7309136 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 20 May 2016 15:34:44 -0400 Subject: Started implementing user streams You can now start a user stream and end it yourself. If it disconnects abnormally, it will reconnect with a backoff as described by Twitter. Some data structures have some fields parsed now; tweets have IDs, text, and authors. Users have IDs, screen names, and names. Notifications from the stream are parsed completely. The ability to follow and unfollow users has also been added, as well as the ability to get a list of friends and followers, and to reply to a tweet. --- src/list.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/list.h (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h new file mode 100644 index 0000000..3876f2d --- /dev/null +++ b/src/list.h @@ -0,0 +1,16 @@ +#ifndef LIST_H_D7DEA7D8 +#define LIST_H_D7DEA7D8 + +#include + +namespace twitter { + + class list { + public: + list(); + list(std::string data); + }; + +}; + +#endif /* end of include guard: LIST_H_D7DEA7D8 */ -- cgit 1.4.1