about summary refs log tree commit diff stats
path: root/src/user.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactored tweet and user classesKelly Rauchenberger2018-08-301-54/+40
| | | | 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-15/+23
|
* Made tweets, users, and notifications into copyable objectsKelly Rauchenberger2016-11-291-7/+10
| | | | 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-9/+35
|
* Added utility function to generate tweet reply prefillKelly Rauchenberger2016-05-221-0/+1
|
* Started implementing user streamsKelly Rauchenberger2016-05-201-0/+31
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.