about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Refactored tweet and user classesKelly Rauchenberger2018-08-304-210/+138
| | | | The only API-visible change is that these classes are no longer default constructible. Other than that, tweet now uses hatkirby::recptr to wrap its retweeted_status (tweet) and author (user) member objects, removing the need to implement the Rule of Five.
* Started using hkutilKelly Rauchenberger2018-08-304-28/+10
| | | | As of this commit, the only change is using hatkirby::implode instead of the implode that was in util.cpp.
* Whitespace changesKelly Rauchenberger2018-08-304-76/+76
|
* Removed more stream-related classesKelly Rauchenberger2018-08-306-147/+2
| | | | | | Among the deleted classes are list and direct_message. These classes were just stubs because the streaming API was able to return those objects. libtwitter++ does not yet actually support these objects, so the stub classes will be deleted for now. refs #3
* Removed stream functionalityKelly Rauchenberger2018-08-305-1772/+0
| | | | | | The Twitter streaming API has officially sunset, so the stream functionality can no longer be used. Because of this, there is no need to keep it in the codebase. refs #3
* Added ability to hydrate user objectsKelly Rauchenberger2018-08-062-0/+35
|
* User objects now contain whether the user is protectedKelly Rauchenberger2018-08-062-16/+25
|
* Tweets store their created timeKelly Rauchenberger2018-08-054-41/+97
| | | | C/C++ time handling is awful, pass it on
* Added ability to hydrate tweetsKelly Rauchenberger2018-08-052-0/+35
|
* Merge branch 'master' of https://github.com/hatkirby/libtwittercppKelly Rauchenberger2018-08-052-0/+40
|\
| * Whitespace changesKelly Rauchenberger2018-02-232-125/+125
| |
| * Added ability to get blocklistKelly Rauchenberger2018-02-232-2/+36
| |
| * Added a convenience overload to client::replyToTweetKelly Rauchenberger2016-12-012-0/+6
| |
* | Added timeline pollingKelly Rauchenberger2018-08-0515-820/+920
|/ | | | Because the streaming API will sunset on August 16th, it is essential to implement timeline polling so that the library can still be used to access tweets. This commit breaks the current API even for clients still using the streaming API because the OAuth connection data was pulled from twitter::client into twitter::auth. Other than that, almost everything works the same, and if a client wants to update their libtwitter++ within the next week and a half, they are free to.
* Made tweets, users, and notifications into copyable objectsKelly Rauchenberger2016-11-2912-151/+610
| | | | Notifications are now also mutable. Users and tweets no longer have helper methods for interacting with the client. Fixed a bug (possibly introduced by a change to the Twitter API) that caused non-reply tweets to be marked as unknown notifications.
* Added another missing #include <memory>Kelly Rauchenberger2016-09-121-0/+1
|
* Added missing #include <memory>Kelly Rauchenberger2016-09-051-0/+1
|
* Merge branch 'master' of https://github.com/hatkirby/libtwittercppKelly Rauchenberger2016-08-203-43/+56
|\
| * Added method to Tweet to get URLKelly Rauchenberger2016-06-122-0/+6
| |
| * Merge branch 'master' of https://github.com/hatkirby/libtwittercppKelly Rauchenberger2016-06-027-198/+454
| |\
| * | Fixed user stream unable-to-reconnect issueKelly Rauchenberger2016-06-021-19/+20
| | |
* | | Updated API to use exceptions and make tweet/user objects more helpfulKelly Rauchenberger2016-08-2020-1339/+1529
| |/ |/|
* | Wrapped JSON parsing in exception handlingKelly Rauchenberger2016-06-014-198/+270
| |
* | Added ability to get configurationKelly Rauchenberger2016-05-315-0/+184
|/
* Added option to receive all replies in user streamKelly Rauchenberger2016-05-252-10/+35
|
* Fixed stream behavior when connection ends normallyKelly Rauchenberger2016-05-241-1/+6
|
* Fixed retweet detectionKelly Rauchenberger2016-05-222-3/+72
| | | | Because a retweet is a tweet referenced from another tweet, the current implementation dynamically allocates memory for the retweeted status and has to manually copy the pointed to data around. It's not a very pretty implementation and may get tweaked at some point soon. I don't like having to implement the big five.
* Added utility function to generate tweet reply prefillKelly Rauchenberger2016-05-226-0/+45
|
* Projects using libtwitter++ no longer have to include its dependenciesKelly Rauchenberger2016-05-212-8/+8
|
* Added "retweeted" field to tweetKelly Rauchenberger2016-05-202-0/+17
|
* Started implementing user streamsKelly Rauchenberger2016-05-2013-47/+1661
| | | | 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.
* Fixed issue with multipart POSTsKelly Rauchenberger2016-04-151-2/+4
|
* Added #include <unistd.h>Kelly Rauchenberger2016-04-151-0/+1
|
* Added ability to upload media and tweet itKelly Rauchenberger2016-04-139-40/+402
| | | | 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.
* Added basic ability to tweetKelly Rauchenberger2016-04-127-0/+295