about summary refs log tree commit diff stats
path: root/src/user.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactored tweet and user classesKelly Rauchenberger2018-08-301-15/+16
| | | | 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.
* User objects now contain whether the user is protectedKelly Rauchenberger2018-08-061-1/+2
|
* Made tweets, users, and notifications into copyable objectsKelly Rauchenberger2016-11-291-22/+2
| | | | 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.
* Updated API to use exceptions and make tweet/user objects more helpfulKelly Rauchenberger2016-08-201-28/+20
|
* Added utility function to generate tweet reply prefillKelly Rauchenberger2016-05-221-0/+5
|
* Started implementing user streamsKelly Rauchenberger2016-05-201-0/+46
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.