about summary refs log tree commit diff stats
path: root/src/list.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-20 15:34:44 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-20 15:34:44 -0400
commit0ccac89815ee92c69fefc148cfb272faf7309136 (patch)
tree228775a433018c8a5fd20f0ebb0f8446057b2112 /src/list.cpp
parentf465dce27cf0f07039e29d8975ad98939f0df3a9 (diff)
downloadlibtwittercpp-0ccac89815ee92c69fefc148cfb272faf7309136.tar.gz
libtwittercpp-0ccac89815ee92c69fefc148cfb272faf7309136.tar.bz2
libtwittercpp-0ccac89815ee92c69fefc148cfb272faf7309136.zip
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.
Diffstat (limited to 'src/list.cpp')
-rw-r--r--src/list.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/list.cpp b/src/list.cpp new file mode 100644 index 0000000..49405d0 --- /dev/null +++ b/src/list.cpp
@@ -0,0 +1,15 @@
1#include "list.h"
2
3namespace twitter {
4
5 list::list()
6 {
7
8 }
9
10 list::list(std::string data)
11 {
12
13 }
14
15};