about summary refs log tree commit diff stats
path: root/src/notification.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed stream functionalityKelly Rauchenberger2018-08-301-192/+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 timeline pollingKelly Rauchenberger2018-08-051-29/+29
| | | | 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-291-4/+48
| | | | 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-105/+108
|
* Started implementing user streamsKelly Rauchenberger2016-05-201-0/+145
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.