Tweetinvi 0.9.1.x

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 314
Change Set: 35380
Released: Mar 30, 2014
Updated: Mar 31, 2014 by linvi
Dev status: Beta Help Icon

Recommended Download

Application Tweetinvi - Binaries
application, 510K, uploaded Mar 31, 2014 - 154 downloads

Other Available Downloads

Source Code Tweetinvi - Source Code
source code, 3738K, uploaded Mar 31, 2014 - 104 downloads
Application Tweetinvi - Merged Binaries
application, 447K, uploaded Mar 31, 2014 - 56 downloads

Release Notes

Support for Windows 8 and Window Phone 8!

Tweetinvi allow you to use all the features of Tweetinvi for both Windows Phone and Windows RT projects.
It introduces new async classes and methods for all the methods accessing the Twitter API.

Tweetinvi is now a Portable Class Library, it means that it can be used on multiple platforms and potentially on Mono/Android. It is also the only Twitter API that does not rely on any code specific to a platform.

Async classes

Static classes with async methods have the same name postfixed with the 'Async' keyword.

// Classic invoke
var user = User.GetLoggedUser(); 

// Async invoke
var user = await UserAsync.GetLoggedUser();

Async Methods

var user = User.GetLoggedUser();

// Get timeline synchronously
var timeline = user.user.GetUserTimeline();

// Get timeline asyncrhonously
var timeline = await user.GetUserTimelineAsync();

What is the difference with the previous version?

No change of code is required for a migration from Tweetinvi to

Namespaces have been slightly renamed for a better readabilty.
  • TweetinviXXX -> Tweetinvi.XXX
  • Streaminvi -> Tweetinvi.Streams.
Please not that if a method is not available as an async method it means it can safely be invoked synchronously.

Because Tweetinvi is now a portable class library you need to reference the following libraries:
  • Autofac for dependency injection
  • Microsoft.Threading.Tasks for async/await
  • Microsoft.Threading.Tasks.Extensions for async/await
  • Newtonsoft.Json for parsing json
  • PCLWebUtility for WebUtility methods

All these projects are available from nuget.

Stream : Get Json

Instead of receiving objects from the different streams, you can now get the json objects directly.

var stream = Stream.CreateSampleStream();
stream.JsonObjectReceived += (sender, args) => { Console.WriteLine(args.Json); };

Reviews for this release

Very simple and easy to use, works really well, and above all the support is excellent!
by SamBlack on Apr 4, 2014 at 4:09 PM