Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Released: Tweetinvi 0.9.0.2 (Mar 06, 2014)

$
0
0

What's new in 0.9.0.0

Tweetinvi 0.9.0.0 does not just add new features, The new version does not just add new features, the API has been entirely re-designed in order to simplify the development and to increase the reliability of the product.
We consequently made important changes that will make previous applications not compatible with the new version. But let me explain…

Tweetinvi 0.9.0.2

Tweetinvi 0.9.0.2 is a minor update with the following content:
  • Invalid arguments are now throwing exceptions instead of swallowing them, this will allow developers to check for null and the result is null it will imply that something has gone wrong when connecting on Twitter
  • GetTweet now uses a valid http query
  • Added Credentials features like SetCredentials as well as the ability to run a method on a specific credential
  • Added User.GetLoggedUserFromCredentials
  • Search is now able to search only by giving it a location, the creation of the search parameter has also been simplified
  • Added methods in static and classes to simplify the development
  • Many other improvements...

You will love the Tweetinvi namespace

To ease the development we have implemented static classes that provide all the features existing in the Tweetinvi API. This imply that you should be able to develop your entire application only 2 namespaces:

- Tweetinvi
- TweetinviCore.*

These classes allow you to create object as well as interacting with them. The objects created will let you access all the features that can be related with this object.

Here is the list of static classes:
- CredentialsCreator (give you the ability to generate credentials for your users)
- Tweet (create, publish tweets)
- User (access information related with users)
- Message (check your private messages and send some)
- Timeline (access the different timelines existing in Twitter)
- Search (search tweets)
- RateLimit (know how much queries you can perform)
- Stream (access a continuous flow of information coming from twitter)
- TweetList (get information about your lists)
- Trends (get the latest trends)
- SavedSearch (access the searches you've saved)
- TwitterAccessor (perform your own queries)
- Help (access help information)
- ExceptionHandler (get information about exception that previously occurred)

Examples

// Get currently logged user
var user = User.GetLoggedUser(); 

// Publish Tweet
Tweet.PublishTweet("Hello Tweetinvi"); 

// Get all the tweets from stream
var sampleStream = Stream.CreateSampleStream();
sampleStream.TweetReceived += (sender, args) => { Console.WriteLine(args.Tweet.Text); };
sampleStream.StartStream();

// Publish a private message
Message.PublishMessage("Hello bro!", "recipientName");

Some of the new features

- Updated all classes and implemented all the fields received from the Twitter API
- Complete redesign of the credentials system
- Credentials Creator with CallbackURL
- Complete UserStream API implemented
- Added all twitter messages within the Stream classes
- Tweet Search
- Tweet Lists
- Exception management is now greatly simplified

Other improvements

- Compatibility with .NET 4.5
- SOLID design application
- Performances improved
- Single DLL

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>