Tweetinvi 1.3
Breaking Changes
- Proxy configuration has changed. To make sure that any username/password can be used in the proxy, you have now to configure your proxy with the following code:
var proxyConfig = new ProxyConfig("http://192.168.1.1", new NetworkCredential("username", "password"));
TweetinviConfig.CurrentThreadSettings.ProxyConfig = proxyConfig;
-
Improved the selection of entities to provide based on whether a Tweet mode is
compat
orextended
. The entities provided will now be unique will provide accurate indices based on the mode of the Tweet. ATweetMode
property has been added to the Tweet to let the users know what type of Tweet they are using. -
Streams are now matching
QuotedTweets
. -
Fixed typo :
SubsribeToList
has been updated toSubscribeToList
Extended Tweets
-
The
exclude_reply_user_ids
parameter has now been added to the parameters for publishing a new Tweet. This parameter will be used if theauto_populate_reply_metadata
is set to false. -
Tweets contains a new property
TweetMode
allowing the developers to know how a Tweet has been retrieved.
Streams
- Streams are now properly matching
QuotedTweets
. You can get access to QuotedTweet matching in theMatchingTweetReceived
.
var fs = Stream.CreateFilteredStream();
fs.MatchingTweetReceived += (sender, args) =>
{
var quotedTweetMatchedOn = args.QuotedTweetMatchOn;
var matchingTracks = args.QuotedTweetMatchingTracks;
var matchingFollowers = args.QuotedTweetMatchingFollowers;
var matchingLocations = args.QuotedTweetMatchingLocations;
};
-
FilteredStreams now provide a new
CheckIfTweetMatchesStreamFilters
that allow the developers to know on what a Tweet is matching some criteria. -
Streams have a new event called
KeepAliveReceived
that inform the developers that Twitter has sent a KeepAlive event.
Auth
InitializeApplicationBearer
now returns a boolean indicating whether the operation has been a success.
Advanced
- It is now possible for developers to generate a query object (
ITwitterRequestParameters
) that can be used to transfer a query to another client securely. The query will be created and signed on the server and executed on another consumer.
You can find this method on the TwitterAccessor
ITwitterRequestParameters GenerateTwitterRequestParameters(string url, HttpMethod method, ITwitterCredentials credentials, HttpContent httpContent)
Bug Fixes
- [STREAM] Infinite Timeout is properly assigned to Streams
- [STREAM]
UserStream
for users with more than 10k users properly handle theFOLLOWS_OVER_LIMIT
event. - [TWEET] The algorithm to calculate the Tweet Lenght is now properly handling
-
in urls. - [CREDENTIALS][THREADING] Fixed issue that could result in invalid credentials to be used when using multiple concurrent threads.