Tweetinvi 0.9.2.x

Rating:        Based on 4 ratings
Reviewed:  2 reviews
Downloads: 1345
Change Set: 35943
Released: Apr 11, 2014
Updated: Apr 25, 2014 by linvi
Dev status: Beta Help Icon

Recommended Download

Application Tweetinvi 0.9.2.3 - Binaries
application, 517K, uploaded Apr 25, 2014 - 934 downloads

Other Available Downloads

Application Tweetinvi 0.9.2.3 - Merged Binaries
application, 456K, uploaded Apr 25, 2014 - 139 downloads
Source Code Tweetinvi 0.9.2.3 - Source Code
source code, 712K, uploaded Apr 25, 2014 - 272 downloads

Release Notes

PublishTweet tweet with Media

The release 0.9.2.x allows developers to send media to the server.
This is particularly useful in order to send tweet with a media attached to it.

byte[] file = File.ReadAllBytes(filePath);
var tweet = Tweet.CreateTweetWithMedia(text, file);
var imageURL = tweet.Entities.Medias.First().MediaURL;

Please note that even if Twitter allows multiple files to be sent at once, most of the accounts are limited to post only 1 media with a tweet. If you add 2 and your account is not authorized to do so, the request will be processed but only the first media will be published.

Other updates

Filter stream by language

All the stream are now able to filter the tweets to be in a specific language.

var stream = Stream.CreateSampleStream();
stream.FilterTweetsToBeIn(Language.French);
stream.TweetReceived += (s, args) =>
{
    Console.WriteLine(args.Tweet.Text);
};
stream.StartStream();

Since parameter for search

The search did not have a since parameter before because the documentation does not mention it. Now it does. Keep in mind that the search may not go back as far as the date you specify!

var searchQuery = Search.GenerateSearchTweetParameter("tweetinvi");
searchQuery.Since = DateTime.Now;
var searchResult = Search.SearchTweets(searchQuery);

Search Json

You can now retrieve json from search results

var jsonResult = SearchJson.SearchTweets("tweetinvi");

Recursive Search

Recursive search now stops when the result set sent from Twitter is empty. This update allow to cope with the fact that twitter does not respect the Max parameter for search queries.

Tweetinvi 0.9.2.2

  • Add the FavouriteCount parameter to the Tweet interface
  • Correct a bug with Message.LastMessageSent that retrieve the message received.

Reviews for this release

     
Excellent library, I've used others in the past but this one is by far the most reliable and easy to use.
by INeedADip on May 9, 2014 at 9:02 PM
     
Excellent Work
by aru2man on Apr 12, 2014 at 12:42 PM