about summary refs log tree commit diff stats
path: root/src/notification.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added timeline pollingKelly Rauchenberger2018-08-051-231/+229
| | | | 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-84/+434
| | | | 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-129/+140
|
* Wrapped JSON parsing in exception handlingKelly Rauchenberger2016-06-011-185/+190
|
* Started implementing user streamsKelly Rauchenberger2016-05-201-0/+848
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.