about summary refs log tree commit diff stats
path: root/src/tweet.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactored tweet and user classesKelly Rauchenberger2018-08-301-72/+50
| | | | 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.
* Tweets store their created timeKelly Rauchenberger2018-08-051-23/+32
| | | | C/C++ time handling is awful, pass it on
* Made tweets, users, and notifications into copyable objectsKelly Rauchenberger2016-11-291-12/+20
| | | | 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 missing #include <memory>Kelly Rauchenberger2016-09-051-0/+1
|
* Merge branch 'master' of https://github.com/hatkirby/libtwittercppKelly Rauchenberger2016-08-201-1/+3
|\
| * Added method to Tweet to get URLKelly Rauchenberger2016-06-121-0/+1
| |
* | Updated API to use exceptions and make tweet/user objects more helpfulKelly Rauchenberger2016-08-201-18/+52
|/
* Fixed retweet detectionKelly Rauchenberger2016-05-221-1/+9
| | | | 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-221-0/+4
|
* Added "retweeted" field to tweetKelly Rauchenberger2016-05-201-0/+2
|
* Started implementing user streamsKelly Rauchenberger2016-05-201-4/+14
| | | | 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.
* Added ability to upload media and tweet itKelly Rauchenberger2016-04-131-0/+4
| | | | 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-121-0/+17