Important
This release contains a large number of breaking changes regarding authentication and credentials.With the intention of improving the web logic layer, I have also performed some important refactoring as well as changes in the parameters order. Please carefully read the changes section.
Overview
Breaking Changes
Tweetinvi 0.9.9.x introduces various break changes that were considered necessary as part of 3 different work items:- Implementation of Application Only Authentication
- Simplify the request of credentials via the Credentials Creator
- Complete rewriting of the Authentication Process
Please read carefully the list of changes:
- The static `Tweetinvi.TwitterCredentials` has now become `Tweetinvi.Auth`
- `TwitterCredentials.SetCredentials` has now become `Auth.SetUserCredentials` when used with 4 credentials information.
- `TwitterCredentials.SetCredentials` has now become `Auth.SetCredentials` when used with an ITwitterCredentials.
- IMPORTANT : Auth.SetUserCredentials now takes the consumer key and consumer secret as FIRST parameters. As opposed as the old `TwitterCredentials.SetCredentials` that took the access token and access token secret as first parameters.
- The `OAuthCredentials` class can now be new up and is now called `TwitterCredentials`
- The new `TwitterCredentials` now contains additional information used for the login process or the application only authentication.
Bug Fixes
- Fixed a 'bug' in FilteredStream that resulted in Tweetinvi to not return tweets which bounding box overlapped a location filter.
- Fixed a bug that could prevent a query from executing in an ASP.NET project.