From 7e85b35d7d1714e3f85434b891a1050ad584e337 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 13 Apr 2016 11:24:24 -0400 Subject: Added ability to upload media and tweet it Images (static and animated) and videos have been tested. Currently all media uploads occur in one large chunk; support to break down chunks will be added later. --- src/twitter.h | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'src/twitter.h') diff --git a/src/twitter.h b/src/twitter.h index 39618c9..f9534c6 100644 --- a/src/twitter.h +++ b/src/twitter.h @@ -3,32 +3,12 @@ namespace twitter { - enum class response { - ok, - curl_error, - bad_auth, - limited, - server_error, - server_unavailable, - server_overloaded, - server_timeout, - suspended, - bad_token, - duplicate_status, - suspected_spam, - write_restricted, - bad_length, - unknown_error - }; - class tweet; }; -#include - -using nlohmann::json; - +#include "codes.h" +#include "util.h" #include "auth.h" #include "client.h" #include "tweet.h" -- cgit 1.4.1