LINQ to Twitter

A LINQ Provider for the Twitter micro-blogging service
Download

LINQ to Twitter Ranking & Summary

Advertisement

  • Rating:
  • Publisher Name:
  • Joe Mayo
  • File Size:
  • 344 KB

LINQ to Twitter Tags


LINQ to Twitter Description

LINQ to Twitter was developed to be a LINQ Provider for the Twitter micro-blogging service. It uses standard LINQ syntax for queries and includes method calls for changes via the Twitter API. From a coding experience perspective, the TwitterContext type is analogous to DataContext (LINQ to SQL) or ObjectContext (LINQ to Entities). You use the TwitterContext instance, twitterCtx, to access IQueryable tweet categories. Each tweet category has a Type property for the type of tweets you want to get back. For example, Status tweets can be made for Public, Friend, or User timelines. Each tweet category has a type enum to help you figure out what is available. Just like other LINQ providers, you get an IQueryable back from the query. You can see how to materialize the query by invoking the ToList operator. Just like other LINQ providers, LINQ to Twitter does deferred execution, so operators such as ToList and ToArray or statements such as for and foreach loops will cause the query to execute and make the actual call to Twitter.


LINQ to Twitter Related Software